[squeak-dev] Character isLetter fix

Levente Uzonyi leves at caesar.elte.hu
Thu Feb 16 23:24:58 UTC 2017


On Thu, 16 Feb 2017, Tobias Pape wrote:

> Hi,
>
> On 16.02.2017, at 20:59, ReliableRobots.com <reliablerobots at gmail.com> wrote:
>
>> 213 asCharacter isLetter answers true so this should be used instead.
>> 
>> isLetter
>> 	^self asInteger > 64 and: [self asInteger < 123]
>
>
> Why shouldn't “latin small letter r with inverted breve” be classified as a Letter?
>
> http://www.fileformat.info/info/unicode/char/0213/index.htm

213 is latin capital letter o with tilde.
http://www.fileformat.info/info/unicode/char/00D5/index.htm
But that's still a letter.

Levente

>
> Best regards
> 	-Tobias


More information about the Squeak-dev mailing list