You are here: Re: Convert iso-8859-2 entities to character « All PHP « IT news, forums, messages
Re: Convert iso-8859-2 entities to character

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:
>> &#x0144;
>> &#x0119;
>
> "\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 +

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация