Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > How can I get the encode of a txt file and convert it into UTF-8?

Reply
Thread Tools

How can I get the encode of a txt file and convert it into UTF-8?

 
 
ZSP747
Guest
Posts: n/a
 
      01-10-2006
How can I get the encode of a txt file and convert it into UTF-8?
I just want to find a class can do this in a simple way.
And if I want to handled a UTF-8 string which class should it use?
Can ofstream output files in UTF-8?How can I do it?
Thanks.

 
Reply With Quote
 
 
 
 
dc
Guest
Posts: n/a
 
      01-10-2006
I think this is a I18N related question. U will get better answers in
those group,

Anyways, in windows we have widechartomultibyte(),..
apis to acheive conversions.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
counting how often the same word appears in a txt file...But my codeonly prints the last line entry in the txt file dgcosgrave@gmail.com Python 8 12-19-2012 06:29 PM
How can i get data from .txt file and .xml file? Cool Wong Ruby 3 06-20-2007 01:40 PM
Opening a txt file to view ( i.e. readme.txt) Sameen C++ 2 08-29-2005 03:14 PM
How can I encode multiple files into a single file? Using UUENCODE source in C Anonieko Ramos Computer Security 0 05-08-2004 02:16 PM



Advertisments