[MCPE-4556] Limited Unicode characters on Signs Created: 05/Jul/13  Updated: 21/Aug/13  Resolved: 21/Aug/13

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.7.2
Fix Version/s: 0.7.4

Type: Bug
Reporter: [Mojang] Shoghi Cervantes
Resolution: Fixed Votes: 0
Labels: signs, text, unicode

Attachments: PNG File fed2b18c-e567-11e2-8502-1c5c5e6bed95.png    
Confirmation Status: Unconfirmed
Platform: Phone - iOS - iPhone 4

 Description   

When an user type a Unicode text in a sign, the length is limited using byte count, not real character count.

That means that if each Unicode character uses 3 bytes (like Korean or Japanese) it will show only 5 characters (15 / 3).

This has been tested in both vanilla MCPE multiplayer servers and PocketMine-MP servers. The packet sent (SignUpdatePacket 0xb6) is correct and contains the correct text. The packet dump is shown here: https://gist.github.com/shoghicp/ecf83b6e92a8a9147805

So, the client only gets the first 15 bytes, instead of the first 15 characters.

Local worlds are not affected by this issue.



 Comments   
Comment by Luis Robles [ 05/Jul/13 ]

Its still alpha, that´s what Johan Bernhardsson said on his twitter

Generated at Sat Jan 11 14:25:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.