--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> How do you do case modifications of unicode?
> 
> local subj3u=unicode.new(?"Ärger, Ångstrøm, Über")
> unicode.messagebox("ok", subj3u.change_case("lower case"), "subju in lower 
> case") ;;doesn't work

unicode.messagebox("ok", subj3u.change_case("lower")
does

I try to track exactly what equivalent pp function does, and that seems to 
require exactly "lower", not a string beginning "lower".

However, I'm not implementing

case ("tonum", "abc")  translates the characters in the string to 
space-separated decimal equivalents.   
case ("tonumx", "abc")  translates the characters in the string to 
space-separated hexadecimal equivalents.   
case ("fromnum", "97 98 99")  translates space-separate decimal numbers to 
corresponding ASCII character
case ("fromnumx", "61 62 63")  translates space-separate hexadecimal numbers to 
corresponding ASCII character

Any of those of use?




Reply via email to