On 5 Mag, 00:13, euromark <dereurom...@googlemail.com> wrote:
> 1) @ryan: the other way around. encoding of the DB is probably wrong
> (not utf8)
>
> 2) globally: debug 0 - in this particular action:
> Configure::write('debug', 2);
>
> On 5 Mai, 00:02, Ryan Schmidt <google-2...@ryandesign.com> wrote:
>
> > On May 4, 2011, at 16:55, Mariano C. wrote:
>
> > > 1) when I insert data inside DB through a form, it will be stored as:
> > > "This letters è is è and this l’ is an apostrophe "
>
> > > If I try to edit this text trough proper editing form, all of this
> > > strange characters will be represented in right way as: è and '.
> > > What can I do to proper echo the text even not in HTML form?
>
> > Hard to know exactly what's happening without more info. One possibility is that the data is being stored correctly as UTF-8, but then when you are displaying it, you're on a page with encoding ISO-8859-1; the solution would be to ensure your pages are using UTF-8 encoding.
>
> > > 2) There's a way to active debug just in one method? How?
>
> > What is "active debug"? What exactly are you trying to do?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment