flat assembler
Message board for the users of flat assembler.
Index
> Windows > mysql + UNICODE |
Author |
|
bitRAKE 04 May 2023, 16:38
MySQL does not natively support UTF-16, Microsoft widechar (wchar_t) strings.
Looks like you are configuring for UTF-8 and converting to<->from UTF-16? I think you should be using CP_UTF8 and not CP_ACP. If you need CP_ACP then you'd need MultiByteToWideChar CP_UTF8, ... and then WideCharToMultiByte CP_ACP, ... As there is not a UTF-8 -> Windows ANSI Code Page function. [This is not a good idea - functionality is just being removed. It's better to use UTF-8/16 to the extent possible and only reduce to other codepages at the interface edge where needed.] |
|||
04 May 2023, 16:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.