|
Posted by Jim Michaels on 02/27/06 07:14
"Jasen Betts" <jasen@free.net.nz> wrote in message
news:65a7.43f65c85.3972c@clunker.homenet...
> On 2006-02-17, Albert <nospam@nowhere.com> wrote:
>> How can I convert some html entities (polish) to a
>> character which I can use in a javascript alert?
>>
>> The entities are:
>> ń
>> ę
>
> "\u0144"
> "\u0119"
>
> etc...
>
>
> Bye.
> Jasen
the following also works.
var s = new String();
s=String.fromCharCode(0x0144,0x0119,0x0144,0x0105,0x017C,0x015B,0x0107);
alert(s);
you can concatenate strings with +
[Back to original message]
|