Help Center Live Community
April 18, 2014, 04:39:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: UTF-8^Wcharser issues  (Read 2397 times)
rsd
Not too much to say...
*
Offline Offline

Posts: 6


« on: January 25, 2010, 06:10:14 AM »

Hello again,

One cause of problems with utf-8 and other charset issues is the use of char_to_html() in functions. php.

change that to this:

Code:
function char_to_html($string)
{
global $lang;
return htmlentities($string, ENT_QUOTES, $lang['charset']);
}

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.149 seconds with 21 queries.

Google visited last this page April 11, 2014, 05:12:41 PM