Link to home
Start Free TrialLog in
Avatar of bill201
bill201

asked on

i'm not able to see hebrew character with asp response.write metho

hi

i have a asp file that use this code :
session.codepage=1255
response.charset="windows-1255"
response.write "some hebrew word"

but the browser shows the hebrew word in question marks
Avatar of Dale Burrell
Dale Burrell
Flag of New Zealand image

Does the computer viewing the site have the windows-1255 font installed? Is there any reason not to use UTF-8?
Avatar of bill201
bill201

ASKER

how i use utf-8? my web editor is front page how i set in front page utf-8
Actually before you try that, try setting Response.CodePage = 1255 (instead of session.codepage).

Else try

Response.CodePage = 65001
Response.CharSet = "utf-8"

I believe thats right, but you an always google for more detail.
Avatar of bill201

ASKER

i tried this but the prblem Hasn't been solved
You tried both options?
Avatar of bill201

ASKER

yes
Have you tried viewing the site from a different computer? I can only think the correct font is missing from the computer viewing the site. Is the site available for me to view?
Avatar of bill201

ASKER

I browsed with my iPhone and its show also questions marks
I used some record sets, and in the beginning it's had show the result in gibris show I wrote the code (session.codepage=1255
response.charset="windows-1255")  it solved the problem but for some reason when I use response.write its not shows correctly  the characters
I would suggest getting it working on a regular computer before worrying about the iPhone. Some things won't work on the iPhone as easy as a regular computer. You did see my comment to you Response.CodePage (instead of Session.Codepage)?
Avatar of bill201

ASKER

i has see your comment and i changed the code but it's not solved the problem. i will try later from another computer
SOLUTION
Avatar of Ess Kay
Ess Kay
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bill201

ASKER

esskayb2d thanks for the link but it's not for my level (i just start to learn asp and html) so it's seems to me a little complicated, any way thanks alot

dale_burrell i tried from another computer and it's also have the same prolbem the the hebrew character don't show up
Can you make the site accessible to me? Alternatively post the page.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bill201

ASKER

dale_burrell you are right the problem was that hats not a correctly formed web page

thanks a lot for you and for every one that tried to help me