Jump to content

[Java] LCD20x4 - Codierung von ÄÖÜ


Recommended Posts

In examples/Bricklet/LCD20x4/ExampleUnicode.java habe ich für die großen Umlaute noch 3 Zeilen hinzugefügt:

    case 0x00c4: c = (char)0xe1; break; // LATIN CAPITAL LETTER A WITH DIAERESIS

    case 0x00d6: c = (char)0xef; break; // LATIN CAPITAL LETTER O WITH DIAERESIS

    case 0x00dc: c = (char)0xf5; break; // LATIN CAPITAL LETTER U WITH DIAERESIS

Dadurch werden die Großbuchstaben auf die kleinen abgebildet, nur bei Ä->ä ist das nicht so hübsch.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...