1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in
Show
Ignore:
Timestamp:
10/29/08 15:08:56 (5 years ago)
Author:
raspopov
Message:

Added UTF8Encode\UTF8Decode global functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/shareaza/DlgLanguage.cpp

    r7221 r7547  
    591591                } 
    592592 
    593                 DWORD nWide = MultiByteToWideChar( CP_UTF8, 0, (LPCSTR)pByte, nByte, NULL, 0 ); 
    594  
    595                 MultiByteToWideChar( CP_UTF8, 0, (LPCSTR)pByte, nByte, strXML.GetBuffer( nWide ), nWide ); 
    596                 strXML.ReleaseBuffer( nWide ); 
     593                strXML = UTF8Decode( (LPCSTR)pByte, nByte ); 
    597594        } 
    598595