3

I have noticed that when copying Unicode symbols to the chat in Minecraft, some will appear as two squares, while others appear as themselfes. I have though that Minecraft only recognizes symbols up to a specific version of Unicode, but that's just simply not the case. There are symbols that are from Unicode 5, that Minecraft doesn't recognize, meanwhile there are some, that are from Unicode 6, and Minecraft does recognize it. I'm sure there is a logic behind what symbols it can render, so can someone explain?

Fun fact: If you remove one of the two squares that appear upon pasting an unrecognized symbol, than copy it, the Minecraft client crashes.

1

The code block below should contain a fairly safe but limited comprehensive list.

This inclusive constraint list at a Bukkit GitHub repo seems to be the best answer I've found so far. It was mentioned in a more technical discussion in a bukkit.org form thread about trying to extend the software to print new special characters which you may find useful if the list below is too restrictive for your needs.

This file appears to be a list of all the characters that are safely supported by the special font that is used in Minecraft, as used in areas like the chat interface.

# This file NEEDS to be in UTF-8 format!
 !"#$%&'()*+,-./
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]^_
'abcdefghijklmno
pqrstuvwxyz{|}~⌂
ÇüéâäàåçêëèïîìÄÅ
ÉæÆôöòûùÿÖÜø£Ø׃
áíóúñѪº¿®¬½¼¡«»

This list also indicates that, if you are copying characters, the source file should be of UTF-8 character encoding type (UTF = Unicode Transformation Format).

If you want to verify the encoding type, a web browser may be able to open a file and use a menu option (e.g View > Character Encoding). Certain text editors or command-line utilities are also available that allow verifying the character encoding of the source file.

Determining an exhaustive or selective list of supported characters

To learn every possible character that a "modern" Minecraft supports this English Google translation of a German wiki article on font data provides an excellent possible resource for determining more exhaustive ASCII and Unicode support based on font resources/assets, but you may have to keep up with changing external circumstances and versions of the software.

The German wiki article contains a history of the Java versions of Minecraft and the names and locations of supported font resources such as ascii.png and unicode_page_xx.png (from 00 to ff) in Full version 1.6 ( 13w24a ) that may be used to determine what is supported either more exhaustively or selectively.

An alternative English-language wiki article on Minecraft chat was not quite as detailed.

  • That font.txt is from 2011. The charset from that file seems to be from Code page 850. Modern Minecraft supports a lot more character than listed in that file. – gre_gor Nov 26 '18 at 23:04
  • @gre_gor I've added a new source of info that provides detailed info on fonts and chars as well as Minecraft version references to track more modern/contemporary handling of font resources so that OP or others might stay reasonably up-to-date. Also indicated that the original list is more accurately a bare-minimum or limited "this will definitely work" set. (The original list of chars are technically a subset of Unicode and capable of being displayed.) – jmmygoggle Jan 7 at 22:23
  • 1
    This article on Minecraft's Gamepedia says it supports Unicode characters, from 0 to 65535. – gre_gor Jan 11 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.