CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Codeplug

Search: Search took 0.03 seconds.

  1. Replies
    16
    Views
    15,781

    Re: Writing UNICODE CString to SQLServer UCS-2

    There isn't really a "raw byte form". The characters are encoded somehow, in all forms.
    http://en.wikipedia.org/wiki/Character_encodings_in_HTML

    If you want to go back to a codepage encoded...
  2. Replies
    16
    Views
    15,781

    Re: Writing UNICODE CString to SQLServer UCS-2

    I believe you need "N'Пошук'"
    http://support.microsoft.com/kb/239530

    >> I have stepped through the code ...
    Make sure "SQLExecDirectW" is being called and not "SQLExecDirect"....
  3. Replies
    16
    Views
    15,781

    Re: Writing UNICODE CString to SQLServer UCS-2

    First you should decide what column type to use and in what encoding to store the strings.
    http://msdn.microsoft.com/en-us/library/bb330962%28SQL.90%29.aspx

    On Windows, with SQL Server,...
  4. Replies
    16
    Views
    15,781

    Re: Writing UNICODE CString to SQLServer UCS-2

    >> Im needing to write a line of text ... from any webpage using any encoding.
    You need to know what the encoding is in order to convert it.

    >> Previously I had a problem displaying this text...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured