Re: latin1 vs UTF-8
- Date: Tue, 13 May 2008 02:49:24 -0700
- From: "Waynn Lue" <waynnlue@xxxxxxxxx>
- Subject: Re: latin1 vs UTF-8
> > I assume I should check if my mysql has support for UTF-8,
> >
>
> I believe it just has to be 4.1 or newer. And, that's only necessary so
> you can get UTF-8 aware sorting and such. You don't need any special
> support to just _store_ UTF-8 data.
Ah, that's actually the critical part. I'm actually generating the
data myself through PHP, but I'm getting a weird ^A character when I
try to print it out in a textarea field. I'm trying to figure out if
there's some weird interaction between htmlentities that's causing it
to be displayed strangely. Can I trust that mysql is displaying the
text correctly on the command line tool if I have 4.1, even if the
charset is set to latin1?
Are there any caveats to using htmlentities that I'm missing?
Essentially I'm creating a form with a text area that allows people to
enter in values, then they can reload the form with the text area
pre-filled in for the id they stored it for.
Waynn
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=royale@xxxxxxxxxx