Wednesday, March 30, 2011

Re: CakePHP files in utf-8 without bom?

Yeah i was just wondering because notepad++ showed me ANSII and the
lanuage file i baked with the console. i put an "ü" in it and it gave
me a "?" in the browser view.

On Mar 30, 1:13 am, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> On Mar 29, 2011, at 18:09, Ryan Schmidt wrote:
>
> > Files that don't contain special characters (i.e. no characters above codepoint 127) don't have an encoding, and can be said to be in any encoding -- UTF-8, ASCII, ISO-8859-1 -- doesn't matter, they're all the same for the lower 127 codepoints.
>
> Ok, maybe not *any* encoding. Certainly not UTF-16 (UCS-2) or UTF-32 (UCS-4) which use 2 or 4 bytes respectively for each character.

--
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: