PHp/Apache server side settings that affect encoding -
this question has answer here:
- utf-8 way through 14 answers
all things being equal, i.e. same code base, same lamp setup (identical versions too), server side settings affect charset encoding? have problem euro sign displaying correctly locally (€) , incorrectly (as â�¬) on remote server. i've checked response headers both locally , remotely , both return 'content-type text/html; charset=utf-8' , both using exact same code base both have relevant 'content="text/html; charset=utf-8"' meta , php header() calls. i'm presuming it's possible httpd or php.ini setting somewhere i'm struggling see it?
thanks in advance.
thanks all, reading 'utf-8 way through' useful , helped. found in particular case php.ini on remote server had default_charset = "iso-8859-1" in , appeared falling despite utf-8 headers in code, changing default_charset = "utf-8" has resolved problem.
Comments
Post a Comment