thank you all for your time and help
but my problem actually is caused by the browser . he send the url query to the cakephp in the form of ANSI and i configure the cake and the header of generated page to use the utf-8 so the quastion is how to change the recived ansi data to the utf-8 data> it's not about notpad++ it's about dynamic read write data
but my problem actually is caused by the browser . he send the url query to the cakephp in the form of ANSI and i configure the cake and the header of generated page to use the utf-8 so the quastion is how to change the recived ansi data to the utf-8 data> it's not about notpad++ it's about dynamic read write data
On Fri, Jan 30, 2009 at 6:54 PM, Marcelo Andrade <mfandrade@gmail.com> wrote:
> (..)
This is a very common issue. Just follow this checklist:
1. Using a smart editor (for Windows: Notepad++, Textpad, ...; for
Gnu/Linux: Gedit,
Kedit, Geany, Kate, Vim...), be sure that all of your .php and .ctp
files are saved
with the UTF-8 (without BOM) encoding;
2. Be sure that your webserver is configured to serve the pages in
UTF-8 encoding
(in Apache, the line 'AddDefaultCharset UTF-8' in your httpd.conf);
3. Be sure that your database tables are configured with the UTF-8 encoding (in
MySql, create your tables with the proper collation option);
4. In the very last case, if the problem still persists and your are a
really paranoid,
change the PHP interpreter encoding in your php.ini.
Best regards.
--
MARCELO DE F. ANDRADE (aka "eleKtron")
Belem, PA, Amazonia, Brazil
Linux User #221105
[gus@parĂ¡ ~]# links http://pa.slackwarebrasil.org/
For Libby's backstory be told on Lost
http://www.petitiononline.com/libby423/petition.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment