Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thai digits do not increment with .succ successor method #5545

Closed
p6rt opened this issue Aug 7, 2016 · 5 comments
Closed

Thai digits do not increment with .succ successor method #5545

p6rt opened this issue Aug 7, 2016 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 7, 2016

Migrated from rt.perl.org#128868 (status was 'resolved')

Searchable as RT128868$

@p6rt
Copy link
Author

p6rt commented Aug 7, 2016

From @labster

labster m​: say "\x[0e53]".succ eq "\x[0e53]"
camelia rakudo-moar 77724b​: OUTPUT«True␤»
labster m​: say "\x[0e53] ", uniname("\x[0e53]");
camelia rakudo-moar 77724b​: OUTPUT«๓ THAI DIGIT THREE␤»
masak labster​: ...so three follows on three?
labster m​: say "\x[0e54] ", uniname("\x[0e54]"); # Usually four
follows three
camelia rakudo-moar 77724b​: OUTPUT«๔ THAI DIGIT FOUR␤»
labster m​: say "\x[0e53]" ~~ /\d/;
camelia rakudo-moar 77724b​: OUTPUT«「๓」␤»

@p6rt
Copy link
Author

p6rt commented Aug 7, 2016

From @lizmat

Fixed with ff26dd8 , tests needed

On 07 Aug 2016, at 22​:10, Brent Laabs (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Brent Laabs
# Please include the string​: [perl #​128868]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128868 >

labster m​: say "\x[0e53]".succ eq "\x[0e53]"
camelia rakudo-moar 77724b​: OUTPUT«True␤»
labster m​: say "\x[0e53] ", uniname("\x[0e53]");
camelia rakudo-moar 77724b​: OUTPUT«๓ THAI DIGIT THREE␤»
masak labster​: ...so three follows on three?
labster m​: say "\x[0e54] ", uniname("\x[0e54]"); # Usually four
follows three
camelia rakudo-moar 77724b​: OUTPUT«๔ THAI DIGIT FOUR␤»
labster m​: say "\x[0e53]" ~~ /\d/;
camelia rakudo-moar 77724b​: OUTPUT«「๓」␤»

@p6rt
Copy link
Author

p6rt commented Aug 7, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 8, 2016

From @labster

Tests added with 19fa7f3d6. According to Wikipedia, Thai digits increment just like standard Arabic ones, so we're good here. Resolving!

On Sun Aug 07 14​:54​:56 2016, elizabeth wrote​:

Fixed with ff26dd8 , tests needed

On 07 Aug 2016, at 22​:10, Brent Laabs (via RT) <perl6-bugs-
followup@​perl.org> wrote​:

# New Ticket Created by Brent Laabs
# Please include the string​: [perl #​128868]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128868 >

labster m​: say "\x[0e53]".succ eq "\x[0e53]"
camelia rakudo-moar 77724b​: OUTPUT«True␤»
labster m​: say "\x[0e53] ", uniname("\x[0e53]");
camelia rakudo-moar 77724b​: OUTPUT«๓ THAI DIGIT THREE␤»
masak labster​: ...so three follows on three?
labster m​: say "\x[0e54] ", uniname("\x[0e54]"); # Usually
four
follows three
camelia rakudo-moar 77724b​: OUTPUT«๔ THAI DIGIT FOUR␤»
labster m​: say "\x[0e53]" ~~ /\d/;
camelia rakudo-moar 77724b​: OUTPUT«「๓」␤»

@p6rt
Copy link
Author

p6rt commented Aug 8, 2016

@labster - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant