I think Sql server can't handle UTF-8, it actually uses UCS2-LE for unicode. Concerning the encoding for views and data from DB, you would need to convert from DB prior to display (iconv can do the job). You can also implement this as a behavior I guess.
You could also use another charset into your views, you can use $html- >charset() in the default layout for example. On Jul 12, 11:26 am, cakeFreak <[EMAIL PROTECTED]> wrote: > Silly question: > > if the encoding of my pages is "utf8", should I also set my db tables > with the same encoding? > > Said in other words: should the page encoding reflect the db table > encoding and vice-versa? > > Dan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
