MC Update 1.5.2 #124


  • Defect
  • Waiting
Open
Assigned to _ForgeUser7307234
  • _ForgeUser9943856 created this issue May 6, 2013

    Doesnt work with 1.5.2, Please Update

  • _ForgeUser9943856 added the tags New Defect May 6, 2013
  • _ForgeUser11206373 posted a comment May 7, 2013
    2013-05-08 00:14:26 [SEVERE] Cannot load plugins/CommandSigns/signs.yml
    org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 1092
    	at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    	at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    	at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    	at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
    	at org.zonedabone.commandsigns.util.SignLoader.loadFile(SignLoader.java:38)
    	at org.zonedabone.commandsigns.CommandSigns.load(CommandSigns.java:81)
    	at org.zonedabone.commandsigns.CommandSigns.onEnable(CommandSigns.java:103)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
    	at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:306)
    	at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:288)
    	at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:310)
    	at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:289)
    	at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:249)
    	at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:149)
    	at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:388)
    	at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 1092
    	at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
    	at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
    	at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    	at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    	... 17 more
    
  • _ForgeUser9042228 posted a comment May 9, 2013

    Sorry for the slow response - it appears to be an issue with Bukkit not specifying the encoding it should use to load configuration files. Without completely rewriting the YAML loading code (which seems pretty pointless if Bukkit did that for us) so we can specity "UTF-8" as we pull in the file, this will be a problem.

    Unfortunately this means you're going to have to look through your file and get rid of 'special' characters yourself: anything that's not in the standard ASCII tables http://www.asciitable.com/

    Alternatively, try to force your encoding as UTF-8 somehow by opening the file in some editor then saving it with forced encoding - maybe this'll help SnakeYAML to guess the correct encoding.

  • _ForgeUser9042228 removed a tag New May 9, 2013
  • _ForgeUser9042228 added a tag Waiting May 9, 2013

To post a comment, please login or register a new account.