«« Next » « Previous
«« Next » « Previous

Link Details

DZone voters are special people. Be special. Login and vote now.
Link 81409 thumbnail

By mswatcher
via codeproject.com
Submitted: May 16 2008 / 23:15

For conversion of strings betwen UTF8 and UTF16 (as well as other formats) Microsoft gives us the MultiByteToWideChar and WideCharToMultiByte functions. These functions use null terminated char/widechar based strings. Use of those strigs requires a bit of memory management and if you use the functions extensively your code may end up looking like a complete mess. That's why I decided to wrap these two functions for use with the more coder-friendly CString types
  • 1
  • 0
  • 132
  • 15

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)