Special Characters *Double Arrow*

Discussion in 'Plugin Development' started by TheGamesHawk2001, Nov 6, 2014.

Thread Status:
Not open for further replies.
  1. hey does anyone know what this arrow is cus I cannot find it lol & i want to use it in my plugin :D

    http://imgur.com/M7w6QBB
     
  2. TheGamesHawk2001 Ok good, please post it here if anyone else is looking for it.
     
  3. bwfcwalshy » «

    bwfcwalshy Well, I put this in my server MOTD to see if it worked (essentials motd) and it just comes up with question marks.. Please help :(

    bwfcwalshy It's not solved anymore. When I put this sign » into my essentials motd it doesnt work just comes up with a question mark sign ingame and when I put it in a broadcast plugin I had made, It comes up as this :p

    imgur.com/z2gJ7fa

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  4. Offline

    Funergy

    TheGamesHawk2001 If you ask for that then you should go to another section. this is about coding plugins not learning to setup Essentials
     
    Skionz likes this.
  5. Funergy "I put it in a broadcast plugin I had made"
     
  6. Offline

    Skionz

    TheGamesHawk2001 What is the issue? The double arrow is showing up in the image.
     
  7. Offline

    Zupsub

    Have you set your files/compiler to use UTF-8?
     
  8. Offline

    fireblast709

    \u00BB
     
    1Rogue likes this.
  9. Offline

    WesJD

    TheGamesHawk2001
    It's a UTF8 character, the question above is most likely your fix.
     
  10. Offline

    MordorKing78

    I Just do CTRL + ALT + { or } = « or »
     
  11. Offline

    Luke_Lax

    No, literally, \u00BB = »

    Also if you're on windows, search for 'charmap', you may find that helpful
     
  12. Luke_Lax wait, so that's what I put for the acual message? So I would do this : &aAnnouncement: \u00BB = » Hi
     
  13. Offline

    Watto

    TheGamesHawk2001

    No As in "\u00BB" would be »

    So "\u00BB Hey" would be "» Hey"
     
  14. Watto It just does this :/ IS this cus of some weird UTF-8 thing?
    imgur.com/dyek2Nx
     
  15. Offline

    fireblast709

    TheGamesHawk2001 where are you using it? Minecraft-related configuration? Plugin related configuration? (your own?) In code?
     
  16. Offline

    DamnHippo

    TheGamesHawk2001

    Code:java
    1. if(cmd.getName.equalsIgnoreCase("motd")){
    2. sender.sendMessage("§c»Why not code your own?");
    3. return true;
    4. }
    5. }
     
  17. Offline

    fireblast709

    TheGamesHawk2001 whatever uses the config should also have added support for unicode for that to work. Minecraft's motd (as set in server.properties) seems to use \u00A7 for their colours, so it should work in there. Other plugins, probably not.
    DamnHippo use the ChatColor enum for colours and use unicode instead of raw chars ;3
     
  18. Offline

    DamnHippo

  19. Offline

    CheesyFreezy

    for those who don't know its:
    ALT + } = »
    ALT + { = «
     
Thread Status:
Not open for further replies.

Share This Page