문제

I'm using Delphi 7 Personal. To access MySQL database I'm using libmysql.dll + very simple wrapper, which is good enough for me. Except one thing ... it doesn't seem to handle Utf8... is that possible somehow to pass Utf8 strings from libmysql to Delphi? Please keep in mind I'm not using commercial delphi, this means no ADO / dbExpress... ;)

Thanks in advance, m.

도움이 되었습니까?

해결책 2

Ok finally what I did is querying "SET NAMES 'cp1250'", replacing the character set depending on the system default charset...

다른 팁

You can pass and receive Base64 data, see here the functions source: http://wi-fizzle.com/downloads/base64.sql

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top