Jump to content
The Uniform Server Community

Default Charset


CyberOto
 Share

Recommended Posts

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.

Link to comment
Share on other sites

Try the following:

 

Edit file:

UniServer\usr\local\apache2\conf\httpd.conf

Comment line as shown

#AddDefaultCharset UTF-8

 

Edit file:

UniServer\usr\local\php\php.ini

Comment 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 best

Ric :rolleyes:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...