Solved Parsing Unicode

Discussion in 'Plugin Development' started by messageofdeath, Jan 4, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    messageofdeath

    How would I parse unicode into a String that would be represented on the boss's health bar?

    I already have the boss health thing covered, I just need to parse unicode.

    This is the current code I have.

    The way I'm having them set it up is as follows: \u####\ ;p;

    The String unicode = input.substring(slot + 2, end); This gets the the 4 digits within the unicode.

    http://pastebin.com/3xsp2d9b
     
  2. Offline

    BillyGalbreath

  3. Offline

    messageofdeath

    BillyGalbreath Hey how would I get it from a yml file? In the file it's &6 \u279F \u279F weird', but it prints exactly like that its not changing it to unicode even with StringBuilder

    EDIT: I got it working.
     
Thread Status:
Not open for further replies.

Share This Page