CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010

    How to convert UTF-8 string to Unicode string

    I am using Visual Studio 2008. I just wonder if there are any library function in Windows SDK or MFC, or from third-parties, that can convert a UTF-8 string into Windows Unicode string(used in CString object).

    Can MultiByteToWideChar or ATL String conversion macro like A2W to the conversion?

    Thank you.

  2. #2
    Join Date
    Nov 2000
    Voronezh, Russia

    Re: How to convert UTF-8 string to Unicode string

    Did you try to read the article MultiByteToWideChar function? The answer is evident.
    Best regards,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.