Unicode = 3 Acsii Characters? (again)

From: Wilbur Wong (wilbur@netvigator.com)
Date: Mon May 15 2000 - 15:06:22 EDT


> Hi,
>
> I am now doing project working with PHP3, MySQL. I've prepared a HTML
form
> in UTF-8 to submit unicode string to the table in MySQL thru PHP3.
>
> Since MySQL won't support Unicode, it gets only VarChar / Char datatype.
> And after an experiment, I discover that I have to set VarChar(30),
> if I wanna have 10 characters input and persist thru the HTML form.
>
> So can I concluded that 1 Unicode Character = 3 Ascii Characters?
> BTW, is there any way that I can find out the Unicode code number of that
> Unicode character by the information given in the 3 Ascii Characters?
>
> FYI, I don't have any display problem when browse the table contents in
> MySQL thru PHP3 in the HTML form (UTF-8).
>
> Please comment, experts!
> Thx.
>
> Regards,
> Wilbur
>



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:02 EDT