Double Byte Numeric Characters are displayed as Single Byte in textbox

15 views
Skip to first unread message

李翃

unread,
Feb 5, 2016, 1:21:27 AM2/5/16
to MIT App Inventor Forum
I would like to report an issue.

To repeat the problem: add a textbox and in the program set the textbox.Text = "0"

Note: ("0" is the double byte of zero "0")

Then run the app, and you can see the single byte "0" instead of the double byte "0", no matter which font type is selected.


Abraham Getzler

unread,
Feb 5, 2016, 10:12:14 AM2/5/16
to MIT App Inventor Forum
I believe AI2 uses UTF-8 encoding.

You can create encodings and decodings of text using two of the Web blocks.
(No Web access needed.)

See attached for a sample.

Where did you get the double-0 code?  
I copied the text from your post and got a different encoding.
(Again, see attached.)

ABG

URIEncode.png
Reply all
Reply to author
Forward
0 new messages