malyha1 Posted August 4, 2004 Posted August 4, 2004 Hi all I am selling books in Arabic and configured my cart to display Arabic. The problem is that the hosting server is enforcing uncode utf-8 instead of leaving it up to the domain owner. Does anyone know of a java script or other language code to enforce windows-1256 instead of the language the server is defaulting to? I know there is some code that I need to include bt don't know where to find/look fo it. Thanks
Jan Zonjee Posted August 4, 2004 Posted August 4, 2004 Does anyone know of a java script or other language code to enforce windows-1256 instead of the language the server is defaulting to? On an Apache server, provided your ISP allows you to use .htaccess files to override server directives, you should be able to set your own character set (see http://httpd.apache.org/ can even be set on a file by file basis).
Jan Zonjee Posted August 5, 2004 Posted August 5, 2004 For an Apache server, uploading a text file (like htaccess.txt) to your root directory with the line: AddType "text/html; charset=windows-1256" .php Then rename the file to .htaccess (no extension!) might do the trick.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.