Re: [PHP] Creating UTF-8 characters from scratch

2001-04-18 Thread Yasuo Ohgaki
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'

Re: [PHP] Creating UTF-8 characters from scratch

2001-04-18 Thread Yasuo Ohgaki
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

[PHP] Creating UTF-8 characters from scratch

2001-04-18 Thread Dennis Gearon
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