The Danish alphabet isn't fitered correctly ...

17 views
Skip to first unread message

Måns

unread,
Feb 10, 2012, 7:09:03 AM2/10/12
to TiddlyWikiDev
Hi TwDevWizards

From different tests with the core list filter macro and fETs I can
conclude that the last three letters in the Danish alphabet aren't
treated correctly...

They should be: Æ Ø Å, however they are parsed as if they were: Å Æ
Ø...

Fet example: http://tw-abc.tiddlyspot.com/#Liste3

List filter example: http://tw-abc.tiddlyspot.com/#%5B%5BList%20Filter%20test%5D%5D

Is this something that can be repaired - or does it origin from
something else than TW core filter handling??

Cheers Måns Mårtensson

PMario

unread,
Feb 10, 2012, 9:48:22 AM2/10/12
to TiddlyWikiDev
I think that's why. It is sorted by there integer values.

>>> var a = 'Å' console.log(a.charCodeAt())
197

>>> var a = 'Æ' console.log(a.charCodeAt())
198

>>> var a = 'Ø' console.log(a.charCodeAt())
216

-m
Reply all
Reply to author
Forward
0 new messages