sasha85
asked on
hebrew inside alert box
when i use script to alert("dfdfd")
yes...the same javascript alert with the ok button...
all my hebrew looks like this:
?????? ?????-???? ??????
?????????.
it sure not hebrew:)
someone here bump into the same problem?
yes...the same javascript alert with the ok button...
all my hebrew looks like this:
?????? ?????-???? ??????
?????????.
it sure not hebrew:)
someone here bump into the same problem?
ASKER
alert("\u05DD\u05D5\u05DC\ u05E9")
?:)
?:)
Alternative to setting the codepage is to alert directly in unicode as I did in the alert
ASKER
the problem is that my page is already in utf8...
and inspite of it
alert("×’×›×’×¢×’×›×¢×’×›× ¢×’×›")
got me
????????????
and inspite of it
alert("×’×›×’×¢×’×›×¢×’×›×
got me
????????????
Did you save the actual file in utf8?
Perhaps better this way round:
alert("\u05E9\u05DC\u05D5\ u05DD");
alert("\u05d6\u05b0\u05d0\ u05b5\u05d 1");
alert("\u05E9\u05DC\u05D5\
alert("\u05d6\u05b0\u05d0\
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The weird text is actually hebrew in my pspad editor and is shown as such by the browser too once I saved it as utf-8
ASKER
ok...thank you:)
i think it because of my host acount...it recoding all what i saved...
i think it because of my host acount...it recoding all what i saved...
So may I ask why a "B" grade - if you could not verify my answer is correct, then you could have waited. If it was not correct, then it should not have been accepted.
2. save the page with hebrew or utf8