• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

native2ascii -reverse Not Working

 
James Gordon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you open the file3.txt correctly ? Which editor are you using ?
 
James Gordon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris,

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


Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic