Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to convert a file from unicode character mode(\uFFFF) to normal mode ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
thank you for reading my post
i have some files that i used native2ascii on them , so my files are no in a format that my local characters are like \uFFFF , i want this file to convert this file back to its orijinal state (read-able in notepad) , can any one here please give me a hand ?


thanks
 
Omkar Shetkar
Ranch Hand
Posts: 76
1
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can use the same native2ascii converter to reverse the conversion. The -reverse option associated with native2ascii converter will do the job for you. For more information click on http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/native2ascii.html.

Omkar V S
 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
thank you for reply.
but i tried the -reverse parameter and no changes happend in the file
it is atill in \uFFFF format

thanks
 
Costa lamona
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use -encoding option to specify your native encoding
and use -reverse option too.

and tell me if I am correct because, I did not try it before!, furthermore, this is first time I read about code pages !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic