aspose file tools*
The moose likes I/O and Streams and the fly likes utf-8 character file -check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "utf-8 character file -check" Watch "utf-8 character file -check" New topic
Author

utf-8 character file -check

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 115
Hi,
I am having file myfile.txt, I want to know whether its utf-8 encoded or other then that. How can I check?

Regards,
Sankar. S
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2771
    
  10

UTF-8 files often start with the three bytes (in hex) EF BB BF, but this is more a convention than a rule.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: utf-8 character file -check
 
Similar Threads
International Characters
URIENcoding in server.xml not working in IE6
Save File As UTF-8
How to read Franch from ResourceBundle
UTF8 java + arabic