Unicode inconsistency

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 11:26 am

This is being posted in the "Off Topic" area because these forums do NOT supply a section for text and language representation.

LiveCode 8.1.8, Mac OS 10.7.5

Doing this:

put numToCodePoint(0xA8FD)
displays a Jain Om in the Message box:
Screen Shot 2018-03-10 at 12.23.33 pm.png
Screen Shot 2018-03-10 at 12.23.33 pm.png (33.33 KiB) Viewed 9511 times
But doing this:

put numToCodePoint(0xA8FD) into fld "gg"
does this:
Screen Shot 2018-03-10 at 12.25.23 pm.png
Screen Shot 2018-03-10 at 12.25.23 pm.png (3.95 KiB) Viewed 9511 times
Which is NBG.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 11:42 am

Jain OM.png
Jain OM.png (82.24 KiB) Viewed 9506 times
The Mac OS 10.7.5 Calculator manages to display the Jain OM as well, so
anyone who wants to try the "Mac OS Lion cannot cope with parts of Unicode"
shouldn't bother.
svetambara.jpg
svetambara.jpg (5.74 KiB) Viewed 9506 times
Oh, look! Here's a Jain who's taken a vow NOT to make funny remarks about Unicode.
Last edited by richmond62 on Sat Mar 10, 2018 2:54 pm, edited 1 time in total.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unicode inconsistency

Post by bogs » Sat Mar 10, 2018 12:14 pm

Dunno, all that puts into my message box is a small square :mrgreen:
Selection_003.png
Selection_003.png (10.25 KiB) Viewed 9502 times
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 12:39 pm

"bogs": is that Windows?

Do you have at least one Unicode compliant font that displays the Devanagari extended glyph set?

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unicode inconsistency

Post by bogs » Sat Mar 10, 2018 12:59 pm

Windows? BITE YOUR TONGUE! :evil:

j/k, 'nix LMDE. hmmm, Devanagari eh? I'll have to go look it up...checking...checking...

Well, apparently I have some form of it, the only two I saw in the repositories are both installed already...
Selection_004.png
but probably not an extended set.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 1:02 pm

Had some lunch . . .

and tried this:

put numToCodePoint(43261) into fld "gg"

And, before you ask: 43261 is the decimal way of expressing hex A8FD

and that worked!

So, obviously LiveCode is having a problem with Hexadecimal.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 1:04 pm

"nakula", "sahadeva": Hmpf: I'd be a bit careful about using fonts named after the Pandavas.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unicode inconsistency

Post by bogs » Sat Mar 10, 2018 1:16 pm

richmond62 wrote:
Sat Mar 10, 2018 1:04 pm
Hmpf: I'd be a bit careful about using fonts named after the Pandavas.
I'd be more than a bit careful about using this stuff, so careful in fact that I have never used it. I don't generally type in languages I don't understand at least a little about, so for me that excludes all of these :P
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 1:22 pm

The Pandavas went in for Polyandry: the 5 brothers shared a wife between them . . .
-
draupadi-1_1484638731.jpg
-
and because God's sense of humour is LARGE, she ended up with 5.
Last edited by richmond62 on Fri Aug 31, 2018 11:53 am, edited 1 time in total.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unicode inconsistency

Post by bogs » Sat Mar 10, 2018 1:49 pm

Now that I've heard something similar about, although I forget the country, when a girl 'marries' she marries into the family. At the first birth, all of the brothers get together and decide who the 'father' is. after that, and even beyond his death, he is still the 'father' to any children born.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 2:46 pm

I'm not sure about that, but Tibetan Buddhists go in for polyandry.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unicode inconsistency

Post by bogs » Sat Mar 10, 2018 2:49 pm

Will look for it later for completeness, book the article is in is upstairs.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 2:51 pm

HOWEVER, there is an obvious problem with LiveCode insofar as some Unicode addresses can be "pulled" using Hexadecimal, while some can only be "pulled" using Decimal.

I'm going out for a walk to the vegetable and fruit market, and will think of a reasonably sensible way to frame a bug report.
Market.jpg
This is the fellow I buy tatties and neeps from. He normally "sets me straight" when I have a programming problem.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 4:58 pm

Screen Shot 2018-03-10 at 5.57.33 pm.png
Screen Shot 2018-03-10 at 5.57.33 pm.png (11.38 KiB) Viewed 9433 times

Bug report 21055

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Unicode inconsistency

Post by richmond62 » Sat Mar 10, 2018 6:27 pm

Actually, The Unicode inconsistency goes further in LiveCode, as for instance:
Screen Shot 2018-03-10 at 7.23.08 pm.png
Screen Shot 2018-03-10 at 7.23.08 pm.png (23.81 KiB) Viewed 9423 times
Screen Shot 2018-03-10 at 7.22.50 pm.png
Screen Shot 2018-03-10 at 7.22.50 pm.png (23.95 KiB) Viewed 9423 times
Both of these (regardless of whether one uses Decimal or Hex) show up properly in the Message Box, but show up as silly squares in fields.

Post Reply

Return to “Off-Topic”