What is a better format to save my PHP files in? UTF-8 or Ansi?
Is using UTF-8 better for special chars in forms?
PHP File Encoding
Moderator: General Moderators
Re: PHP File Encoding
UTF-8 is better.
There are 10 types of people in this world, those who understand binary and those who don't
Re: PHP File Encoding
Why is that?
Re: PHP File Encoding
You can get a lot of information about it : http://en.wikipedia.org/wiki/UTF-8#General
There are 10 types of people in this world, those who understand binary and those who don't
Re: PHP File Encoding
Beware the BOM though - it'll cause you headaches if you don't know about it.
Re: PHP File Encoding
For more information about UTF-8, I recommend these articles:
Character Sets / Character Encoding Issues
Handling UTF-8 with PHP
UTF-8: The Secret of Character Encoding
The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
Character Sets / Character Encoding Issues
Handling UTF-8 with PHP
UTF-8: The Secret of Character Encoding
The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)