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
ASPASP.NET

Avatar of undefined
Last Comment
bill201

8/22/2022 - Mon
Dale Burrell

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

ASKER
how i use utf-8? my web editor is front page how i set in front page utf-8
Dale Burrell

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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
bill201

ASKER
i tried this but the prblem Hasn't been solved
Dale Burrell

You tried both options?
bill201

ASKER
yes
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dale Burrell

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?
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
Dale Burrell

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)?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
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
Ess Kay

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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
Dale Burrell

Can you make the site accessible to me? Alternatively post the page.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
bill201

ASKER
ASKER CERTIFIED SOLUTION
Dale Burrell

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
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