On 2 Apr 2014, at 15:04, Richmond <richmondmathew...@gmail.com> wrote:

> and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type 
> "PropList.txt"
> 
> would I be correct in thinking that in scripting phrases that are of this 
> sort;|
> 
> codepointProperty(c, "Diacritic")
> 
> where you have "Diacritic" one could have any one of the PropList.txt terms?

That's the idea. Terms are case-insensitive and underscores and spaces are 
considered to be equivalent. So you could say

codepointProperty("é", "Decomposition_Type")  -- E-Acute, if something eats the 
Unicode text

and the result (in this case) would be "Canonical".

Some property types might not be implemented and will give you a "bad property 
name" error - some of the listed properties don't seem to be provided by ICU 
(mostly deprecated properties).

Regards,
Fraser


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to