In a galaxy far far away, we commonly used option-8 on the Mac to get a bullet 
glyph or symbol. At some point while converting databases from Mac to Windows 
this was changed to Char(165). Now, I see that Char(165), in a converted 
database, gives me the Yen sign. I’ve stumbled on the fact that Char(8226) 
gives me the bullet symbol in Windows but I don’t understand it.

So Option-8 on the Mac and Char(8226) via 4D seem to give me the same 
character, where Bbedit reports the character as:

Hex: E2 80 A2
Decimal: 226 128 162
Unicode: 2022

Why is the decimal value of 8226 not mentioned in the data above? Is there a 4d 
command that takes unicode values as a parameter, such that I could input 2022 
and get the bullet glyph?

Also when you look at the wiki referenced by the 4D docs 
(https://en.wikipedia.org/wiki/List_of_Unicode_characters 
<https://en.wikipedia.org/wiki/List_of_Unicode_characters>) and refer to the 
bullet, you get “U+2022” and what seems like a decimal value of 916. Where is 
the 916 coming from and why is the unicode value written as “U+2022”, do you 
ever have to type “U+”?

Sorry for such a fundamental question, I guess it’s time to learn more about 
character sets.

Thanks,

Robert
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to