CyberOto Posted November 23, 2009 Report Posted November 23, 2009 Hi, I was using Nano 5.3 with no issues commenting AddDefaultCharset directive in Apache configuration. Backed up everything and downloaded Nano 5.4 stable with UTF-8 support. First thing was to comment again the AddDefaultCharset directive in Apache config, saved and started Nano 5.4 Loaded a page that is using <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251" /> but still UTF-8 encoding was forced and text on page was messed up. Any thought or ideas ? Regards, P.S.Tried to use AddDefaultCharset WINDOWS-1251 with no luck - UTF-8 was forced also. Quote
Ric Posted November 23, 2009 Report Posted November 23, 2009 Try the following: Edit file:UniServer\usr\local\apache2\conf\httpd.confComment line as shown#AddDefaultCharset UTF-8 Edit file:UniServer\usr\local\php\php.iniComment line as shown;default_charset = UTF-8 It will not force a UTF-8 header a browser then needs to use the meta tag. All the bestRic Quote
CyberOto Posted November 23, 2009 Author Report Posted November 23, 2009 Hi Ric, Thank you for your prompt action - commenting the ;default_charset = UTF-8 in php.ini solved this issue. This option is new in the php.ini file - I have missed it Thank you and keep up the good work Best Regards, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.