You could store those texts as binary in MySQL...
- Original Message -
From: "Monty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 06, 2004 11:07 AM
Subject: [PHP] Re: htmlentities and foreign characters from MS Word
> That did it! It
That did it! It seems that my version of MySQL doesn't support Unicode
encoding, only the various ISO encodings. So, I guess this translation is
necessary before storing all text in the DB so foreign characters aren't
broken when I retrieve them from the DB.
Thanks!
I2eptilex wrote:
>
> Well i
Well it seems you have a UTF-8 encoded text after your function. Use
iconv to change it. See http://de3.php.net/manual/en/ref.iconv.php .
try doing this with your array before inserting it into the DB
foreach($insert_array as $key => $var){
$new_arr[$key] = iconv("UTF-8", "ISO-8859-1", $v
3 matches
Mail list logo