You are here: PSPad forum > Bug report / Hlášení chyb > Re: Wrong html ascii code in ascii table

Re: Wrong html ascii code in ascii table

#1 Wrong html ascii code in ascii table

Posted by: galerio | Date: 2013-06-12 12:32 | IP: IP Logged

I noticed this error in the window of ascii code:
caracter:
è -> č
but should be:
è -> è

I haven't checked the other symbols, but maybe it's not a waste of time to do a rapid check.

Options: Reply | Quote | Up ^


#2 Re: Wrong html ascii code in ascii table

Posted by: pspad | Date: 2013-06-12 13:06 | IP: IP Logged

If depends of Windows code page you using.
Entity value should correspond to dec value of char.
Entities over 255 use unicode values what are different from basic ASCII char.

In case if ASCII contains full unicode table, it will be 65535 rows.

It's hard to generate it, cause there are named HTML entities too.

You can edit ASCII.INI file and change you want.

Options: Reply | Quote | Up ^


#3 Re: Wrong html ascii code in ascii table

Posted by: Freeman | Date: 2013-06-12 19:27 | IP: IP Logged

Jan, it seems like a bug:

image

I'm seeing some Hebrew characters at the header as well as instead of proper ones. I'm using Windows XP with Russian locale and Asian languages support, but ö entity should always look like ö.

I've looked into ASCII.ini and very surpised of entities like 207=Ď. As I know, W3C forced use of Unicode numbers for entity resolution regardless current character set, so 207 will always &#207 and 270 will always &#270 and nothing else. Some older browsers allowed codes of windows-1252 in U+0080..U+009F range which are not ISO-8859-compatible and then has been prohibited by W3C.

Edited 1 time(s). Last edit at 2013-06-12 19:30 by Freeman.

Options: Reply | Quote | Up ^


#4 Re: Wrong html ascii code in ascii table

Posted by: Freeman | Date: 2015-03-31 10:49 | IP: IP Logged

This is one more step to make PSPad more compliant to Unicode. I will investigate this issue. This is just a bump message. smiling smiley

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2022 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR