Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2004

Tip: Looking for answers? Try searching our database.

How to convert a UTF-8 string to UTF-16 string in vc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tt - 08 Jun 2004 02:15 GMT
algorithm or API is expect
thanks
Kyle Alons - 08 Jun 2004 02:51 GMT
CA2W(str, CP_UTF8)

Signature

---------------------------------------------------
Automate your software builds with Visual Build Pro

> algorithm or API is expect
> thanks
tt - 08 Jun 2004 06:26 GMT
thank you!
but I have to use this convert in WinCE, and WinCE does't support CP_UTF8
cenvert,
Can you tell me the convert algorithm or website about it?
> CA2W(str, CP_UTF8)
>
> > algorithm or API is expect
> > thanks
Simon Trew - 08 Jun 2004 09:10 GMT
http://www.faqs.org/rfcs/rfc3629.html

Note that you can probably do the simpler CESU-8 encoding/decoding as
described there, if you don't have to handle Unicode characters above
U+FFFF.

> thank you!
> but I have to use this convert in WinCE, and WinCE does't support CP_UTF8
[quoted text clipped - 4 lines]
> > > algorithm or API is expect
> > > thanks
Phil Frisbie, Jr. - 08 Jun 2004 16:48 GMT
> algorithm or API is expect
> thanks

mbstowcs()

Signature

Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

Alex - 08 Jun 2004 17:22 GMT
> algorithm or API is expect
> thanks
Unicode.org provides platform-independent source code for various UTF
conversions (including the on you need).

Look in http://www.unicode.org/Public for CVTUTF.

Alex.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.