PDA

View Full Version : How do I specify the codepage


med79
05-03-2003, 07:06 AM
I need to specify the codepage in one of my pages, I did it like this
in ASP:

<%
session.CodePage="65001"
%>

I need the PHP equivalent.

mordred
05-03-2003, 02:07 PM
You might consider to elaborate a little for us ASP-nonusers... what does this codepage do? What exactly are you trying to do in PHP, I see that it's somehow related to sessions, but that's not enough to answer I believe...

ionsurge
05-03-2003, 02:51 PM
This is probably something for MHtml, who knows both inside out more or less... he's in Australia, and should be sleeping (I doubt it though), I'll ask him to have a peep for you. :)

med79
05-04-2003, 06:36 AM
forget the session part. I am writing in a right to left language. If yoy don't specify the code-page in ASP then you see ???? instead of the actual letters. There must be a way to specify the code-page in PHP too.