Re: Encoding problem with helpers

2009-01-23 Thread dr. Hannibal Lecter
1. Make sure everything in your database is utf8 (or other encoding needed). 2. Make sure you're connecting to your database with utf8[1]. 3. Make sure your pages are served in utf8. [1] http://groups.google.com/group/cake-php/browse_thread/thread/dcdbcc085dcd09a0 Hope that helps! On Jan 22,

Re: Encoding problem with helpers

2009-01-23 Thread ABY
i just solved the problem by encoding all data and html in utf-8. thanks so much for your help. On Jan 22, 8:16 pm, brian bally.z...@gmail.com wrote: First thing is to make sure that the page with the form is being served with the proper encoding. Use $html-charset() in your layout. The form

Encoding problem with helpers

2009-01-22 Thread ABY
hi, i am currently developing an application with CakePHP, but i have a serious problem with encoding. my database records are in Turkish. when i view a record, there is no problem and i can view Turkish characters. but when i try to edit a record, all fields that contain at least a Turkish

Re: Encoding problem with helpers

2009-01-22 Thread brian
First thing is to make sure that the page with the form is being served with the proper encoding. Use $html-charset() in your layout. The form should submit using the character set that it was displayed with. Next, make sure that that's what your browser is using--check page info in the browser.