Unable to use ASCII Special Characters in bPerms user files

Discussion in 'Bukkit Help' started by RiotShielder, Nov 25, 2012.

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

    RiotShielder

    I put this in the bPerms user file

    riotshielder:
    permissions: []
    groups:
    - owner
    meta:
    suffix: '✠'

    The encoding is in ANSI. It renders into ✠automatically when I paste it, any help?
     
  2. Offline

    Cirno

    Try using the unicode for it, or in your case, \u10016
    I don't think MC supports that character though.
     
  3. Offline

    RiotShielder

    I am able to copy-paste them in chat just fine - I have tried the unicode format and it throws an error
     
  4. Offline

    md_5

    Bukkit configs do not support UTF-8 (which is what you mean).
    They might work occasionally on Linux, is that you servers OS?
     
  5. Offline

    RiotShielder

    I'm running Ubuntu Server 10.04 I believe; may I ask why the decision was made not to support UTF-8 (I would like to learn :p)
     
  6. Offline

    md_5

    Its a really complex bug due to the way our config works.
     
  7. Offline

    RiotShielder

    Is there any way to get around this? Another format I could use in my files? I use Notepad++ for editing them; is there another encoding I could use?
     
  8. Offline

    md_5

    Search leaky for config and UTF-8, but I haven't really looked into it.
    EdGruberman maybe.
     
  9. Offline

    RiotShielder

    Thanks MD_5
     
  10. Offline

    EdGruberman Retired Staff

    Interesting you are running on Ubuntu, but your config file is in ANSI?

    If your default file encoding on Ubuntu is UTF-8, your configuration files should also be UTF-8... well if bPerms uses the default Configuration classes with Bukkit that is.

    If bPerms uses default Bukkit Configuration classes, and Ubuntu's default file encoding is UTF-8, your configuration files should be UTF-8 and you can paste and save that character as UTF-8 and it should all just work.
     
  11. Offline

    RiotShielder

    I am able to paste it in there are UTF-8 after I swap the encodding, but when I use /permissions reload it won't load the permissions file
     
  12. Offline

    EdGruberman Retired Staff

    When you say it won't load, do you mean it throws an exception? Can you paste the stack trace here?
     
  13. Offline

    RiotShielder

    Stack Trace? No I just found out that there was no error except with other encodings, when I set the encoding to UTF-8 after converting it won't load our ranks (I am putting prefixes in the user file), for example everyone on the server will become the default rank until I set the encoding back to ANSI
     
Thread Status:
Not open for further replies.

Share This Page