aspose file tools*
The moose likes Java in General and the fly likes native2ascii -reverse Not Working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "native2ascii -reverse Not Working" Watch "native2ascii -reverse Not Working" New topic
Author

native2ascii -reverse Not Working

James Gordon
Ranch Hand

Joined: Aug 09, 2002
Posts: 106
Hi,

I can't seem to get back my chinese texts by using native2ascii.

1) native2ascii -encoding utf8 file1.txt > file2.txt
2) native2ascii -encoding utf8 -reverse file2.txt > file3.txt

By right, the content for file3.txt should be the same as file1.txt
but it's having some funny characters instead.

Any clues?

Thanks in advance.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Did you open the file3.txt correctly ? Which editor are you using ?


[My Blog]
All roads lead to JavaRanch
James Gordon
Ranch Hand

Joined: Aug 09, 2002
Posts: 106
Hi Chris,

I've found the problem.
The file redirection is causing it.


Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: native2ascii -reverse Not Working
 
Similar Threads
database(?) and stuff
Creating XML from folder
Help using htmlunit
JTree - Compare Nodes problem
need help!!! please