I can say about my practice, though I work with russian letters. I use
MySQL 4.1 as DB which has good UTF8 support. You should set utf8 as
default encoding for new databases and the text fields. When
connecting, you should send "set names 'utf8'" query to DB. I send
this query in patched file dbo_mysqli.php (cake/libs/model/dbo/
folder).

The only problem I noticed is the HTML-link helper, which didn't use
encoding parameter. But I think it's fixed now. Anyway you can open
the source and change it to whatever you like.

As for filenames, I use only basic latin letters.

On 9 Фев., 19:38, "Alex" <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I've often had problems using UTF-8 in CakePHP with german chars in
> HTML and/or filenames. I saw that in some cases (and some html helper
> functions / some file system functions) I have to trick around with
> en-/decoding functions. Are there any Best Practices on how to use
> CakePHP correctly with UTF-8 and how to en-/decode all strings in all
> cases (HTML output, DB access, file access....) correctly?
> Why does Cakes helpers sometimes use htmlspecialchars and sometimes
> htmlentites? For some german (and other) chars is this very important.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to