Hey,
i found the solution for the utf-8 encoding problem:
i used the:
wchar_t chAppWinTextUnicode[MAX_PATH] = { 0 };
::*GetWindowTextW*(hWnd, chAppWinTextUnicode, MAX_PATH);
int nSize = *WideCharToMultiByte*(/*CP_UTF8*/, 0, chAppWinTextUnicode,
-1, NULL, 0, NULL, NULL);
char* pchBuffer= (char*)
Hello afriza,
thanks for your quick replay. if i use the WCHAR or std'::wstring,
should i used the _UNICODE macro in the Visual Studio Project setting?
best regards
ming
On 16.12.2010 17:34, Afriza N. Arief wrote:
> @Cory: correct.
>
> Fixed Code:
>
> HWND hWnd = /* from somewhere */;
> int nL
t works
> correctly for me.
>
> Pictures / Attachments do not make it to the list.
>
> Martin
>
>
> Am 16.12.2010 14:17, schrieb Ming Lu:
>> Hello everyone,
>>
>> i am faceing a problem with unicode to save german umlaute in sqlite:
>>
>> here
Hello everyone,
i am faceing a problem with unicode to save german umlaute in sqlite:
here ist the problem:
dev-envoriment:
Visual studio 2008
SQLite 3.6.20
i used the sqlite c/c++ interface and open a db used sqlite3_open.
during the running of my application will the german-umlaut or other
4 matches
Mail list logo