This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to convert  a file from unicode character mode(\uFFFF) to normal mode ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to convert  a file from unicode character mode(\uFFFF) to normal mode ?" Watch "how to convert  a file from unicode character mode(\uFFFF) to normal mode ?" New topic
Author

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

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
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

Joined: Jun 22, 2006
Posts: 41

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


http://writingsontech.blogspot.in/
raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
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

Joined: Sep 24, 2006
Posts: 102
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 !!


SCJP 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to convert a file from unicode character mode(\uFFFF) to normal mode ?
 
Similar Threads
range of char
FTP Put a zip file that contains text files in Linux
java
gui
Dates