Jump to content

encoding proplem


abdus

Recommended Posts

hi ,

My scripts are using cp1256 (windows-1256) encoding.

but the apache dafault encoding is iso-8859-1.

so it causes some problems especially in inserting/querying database

how can I change the apache-encoding in run-time (a PHP function or something)

or from cpanel?

my host (shared webhost) told me to to use 'runtime encoder' what is this and how can I use it

I hope it's the right place for this problem

thank you.

 

Link to comment
https://forums.phpfreaks.com/topic/107329-encoding-proplem/
Share on other sites

thanks for help

yes ..

but I wonder how to set the server encoding

when Im not connecting to mysql

I wnat to apply something like 'SET NAMES windows-1256' when I am not connecting to db

and is it impotrant in the first place to change the apache encoding to be as that of the scripts

i.e. (would it be ok in serching, regexp and strings-processing when the apache charset is different)

I hope its clear,

thank you effigy again

Link to comment
https://forums.phpfreaks.com/topic/107329-encoding-proplem/#findComment-551478
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.