you are right.
In my haste to simplify my approach for posting on this blog, i failed to set the font...
My code should be:
Dim B As Button
B.Initialize("B")
B.Color = Colors.White
B.Text = "ឆ៩៧"
B.TextColor = Colors.Black
B.TextSize = 36
language = "khm"
languagenm = "Khmer"
B.Typeface = Typeface.LoadFromAssets("Khmer.ttf")
Activity.AddView(B, 200dip, 200dip, 200dip, 200dip)
I appreciate your sample code. However, it is merely using the Khmer font to display English characters.
I'm trying to use the extended characters values Hex: 17e1, 17e7, 20ab as an example (not the characters pictured above, but still the extended values).
If you change your english text for hex values (ret = Bit.ParseInt(hex, 16) and try, it will likely be blank.
This works for other languages like Gujarati, Chinese etc.
Any ideas?
Thanks
Rusty