File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply 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: 550
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: 30

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://www.omkarvs.blogspot.com
raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 550
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to convert a file from unicode character mode(\uFFFF) to normal mode ?
 
Similar Threads
gui
java
range of char
FTP Put a zip file that contains text files in Linux
Dates