My mail client converted invalid char code for the original post to '?'.
Anyway, PHP works well with multi-byte chars and it works well with UTF-8/EUC at
least.
Not sure if PHP work well with KOI, though.
This works. $value = 'ABCDabcd日本語文字列12341234';
(This mail's char code must be UTF-8 if it'
I don't know about "Cyrillic", but anyway,
Why not just assign UTF-8 char codes to variables?
(It would be nice if there is hex2bin(), though. You can use sprintf() assign
sort of binary value, but it would not work well to assign multi-byte char
values since it interpret as integer)
I think PHP
I want to try inserting a UTF-8 string into a varchar field. I'd like to
try something like cyrillic, which I know uses multiple byte characters
mixed with single byte characters. Anyone know how to create binary
values as an argument to insert into a field?
--
PHP General Mailing List (http://w
3 matches
Mail list logo