Re:Tadpole code convert any <4k string to a 'single' char...
by paraschopra on Friday January 08, 2010 @09:39AM
(#1039575)
Can you explain a bit more in detail? This looks fantastic and am interesting in knowing more about it but didn't really get what you mean by diacritic marks.
[ Parent
| on HN ]
Re:Tadpole code convert any <4k string to a 'single' char...
by afshin on Friday January 08, 2010 @09:54AM
(#1039618)
Characters can have different accents or modifications on them. For example, the letter "e" can be "é" or "è" or "ë", etc. The interesting thing being done here is layering multiple diacritical marks on top of the slash character and then decoding those marks back into plain text.
Re:Tadpole code convert any <4k string to a 'single' char...
by Quarrelsome on Friday January 08, 2010 @09:41AM
(#1039580)
I'm interested too. I'm guessing the data is actually encoded into the character as they do look ever so slightly different with different content.
This would suggest this means that you can create a dynamic font/character in unicode. I had no idea this was possible, can someone confirm/slap me down for saying silly things?
Re:Tadpole code convert any <4k string to a 'single' char...
by ars on Friday January 08, 2010 @03:39PM
(#1040376)
It's a http://en.wikipedia.org/wiki/Combining_character However, most of the combining characters also have an equivalent single gylph composed version. But unicode supports making your own by overlaying.
An important task of unicode encoding/decoding is inter-converting between the two forms. For example if you require a name to be unique, and one form uses combining characters and the other doesn't, they are identical, but different.
Re:Tadpole code convert any <4k string to a 'single' char...
by nirmal on Friday January 08, 2010 @11:04AM
(#1039771)
I'd like to see the algorithm used to do this sort of compression.