|
Posted by Jerry Stuckle on 09/28/87 12:01
João Morais wrote:
> Hi there guys,
>
> My doubt is, what's the best way of storing text into a mysql
> database, if the text has special characters.. imagine iso-8859-1.
>
> Should I convert the text using htmlentities and then put it into
> database, and later when I will retrieve it I should use the reverse
> process.
>
> What's the best way of doing this?
>
> Thanks in advance.
>
Check in comp.databases.mysql. There are several things to consider
when using special characters, and the people over there know them all.
And no, you do not want to use htmlentities() to convert them. You
should never store display-specific data in the database; always store
the raw data and convert it before displaying it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|