Wednesday, March 30, 2011

Re: CakePHP files in utf-8 without bom?

On Mar 30, 2011, at 06:13, func0der wrote:

> Yeah i was just wondering because notepad++ showed me ANSII

There is no such thing as "ANSII". There is ASCII:

http://en.wikipedia.org/wiki/ASCII

And there is ANSI:

http://en.wikipedia.org/wiki/Windows-1252


> and the
> lanuage file i baked with the console. i put an "ü" in it and it gave
> me a "?" in the browser view.

"ü" is a "special character", a codepoint above 127; the fact that it showed up as "?" in your browser (where CakePHP is outputting UTF-8) suggests it was not a known UTF-8 entity, and hence that you did not save the file as UTF-8, which you should do. I do not know the notepad++ software so I cannot help you how to do that in that software.


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