Special Characters

Discussion in 'Archived: Plugin Requests' started by Anubis3467, Aug 21, 2014.

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

    Anubis3467

    Plugin category: Chat Related

    Suggested name: Ñáéíóú¡ñÁÉÍÓÚ (xD No)

    What I want:

    *Little History* I was looking for a fix of this:
    http://gyazo.com/19a0f046093f41b6df662aed79276834
    because it needs to look like "_Anubis3467_ se rompió las piernas", but instead of that it says "RompiÂ3" and I found this:
    http://forums.bukkit.org/threads/special-characters-the-war-xd.130801/#post-2748575
    and that guy told me that I need to do a Plugin, with those lines replacing that with that and I have no idea to code a Plugin so... Please Halp me.
    1. public String encode(String invalidString){
    2. return invalidString.replace("ñ", "&n");
    3. }
    1. public String decode(String encodedString){
    2. return encodedString.replace("&n", "ñ");
    3. }
    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions needed.

    When I'd like it by: As soon as possible :).
     
  2. Offline

    Anubis3467

    Please help me :c

    The Characters that I need to change are:

    ñ Ñ á Á é É í Í ó Ó ú Ú ¡ ¿ Ω λ § ▪ « »
     
  3. Offline

    JBoss925

    Lol, I was the guy. And yeah, I'll go ahead and code it. Just a quick question, do you want it to be a whole plugin or a utility you can use when coding? Like, when do you want the characters to be encoded and decoded? I guess what I'm trying to say is, what do you want to happen with the special characters?
     
  4. Offline

    Anubis3467

    A whole plugin :) And if you can
    Can you please help me with these: http://forums.bukkit.org/threads/simple-plugin-about-villagers.305230/
    http://forums.bukkit.org/threads/no-fireproof-pig-mens.305236/

    Oh and I don't know so much about coding and English >.< but as I understood you, just that they (Special characters) appear in the chat when I write them on config files of plugins and that. Like in Crackshot http://dev.bukkit.org/bukkit-plugins/crackshot/ when a Custom Death Message appears in the chat the "ñ" doesn't appear in chat and the others characters.

    I will love you if you do this xD

    And yes, if you want to do the other 2 plugins, you can put it all in one Plugin

    Could you do it please? :c It's ok if you end it this weekend, but please answer T_T

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

    JBoss925

    Well, there's a problem. I can spit out the Util no sweat, but the plugin your using doesn't already use my Util and thus it wouldn't work unless the developer changed it.
     
  6. Offline

    Anubis3467

    Oh :c Well... Then can you just do the Special Characters one and I test it if it works?
     
  7. Offline

    Anubis3467

    Please :C!
     
  8. Offline

    JBoss925

    I don't think you understand. I can't help unless your previous plugin's developer changes his code.
     
  9. Offline

    Anubis3467

    oh... ok :c
     
  10. Offline

    JBoss925

    Not trying to be an asshole, but it seems English isn't your first language and I was trying to make it apparent. If you want I can try to code whatever plugin is causing the error.
     
  11. Offline

    Anubis3467

  12. Offline

    Cadiducho

    Hi Anubis, I don't have this problem because all my plugins are compiled in by set my JVM encoding to 'UTF-8'.
    For example, in NetBeans you can change this in Project Properties -> Sources -> (at the botton of the menu) Encoding; and set it to UTF-8. This may accept characters like ñ; ó, ç, è and also another that Spanish don't use, like ♪, ►, ψ and much more...
    Good luck! :D
     
  13. Online

    timtower Administrator Administrator Moderator

    Cadiducho 1. He hasn't been online for a while.
    2. The thread hasn't been used for even longer.
    3. He isn't a developer
     
  14. Offline

    Anubis3467

    :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD THANK YOU SO MUCHpkgnskdpgnaspdgmjaók ¡Muchas Gracias! Ahora tengo que hacer todo eso con unos Plugins xD

    I don't really know how I'm going to do it, but I will try :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
Thread Status:
Not open for further replies.

Share This Page