Olivier Wauters wrote:


Hi,

Thank you for your reply.
The thing is the the content is from a mysql database, and input with a web
based application. And the website is totally dynamic. So I try to find the
easier solution.
So you need to recode the content of mysql tables, you would need to do it anyways even with the hexa codes. recode extension will help you.
Then simply put
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
to all head sections of your html pages. Then even the web based input will work.
The only problem I see is that mysql does not support unicode, so some features will be missing.



Doeas Unicode is UTF8?
Yes


Thank you.


Olivier.


----- Original Message ----- From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "olivier" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 11, 2003 11:33 AM
Subject: Re: [PHP] multi languages pages - string 2 hexa ????



Use unicode and a unicode editor.


olivier wrote:


Hi,

I have to create a multi-language web site. The interface language and the
content language are different.
The interface languages are frensh, english, spannish or portugese, but

the


content can be english or russian or greek...

My idea is to write the string in hexa codes.
So is there a simple method in PHP to translater something like this
"Правила" to something like this
&#1055;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072; ?

Is it the right solution? Is there other solution? Does anybody have
exerience about this?

Thanks for your help.

Cheers.

Olivier.









-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to