use utf-8 in card script to encode the correct name

master
melvin 2012-08-09 15:16:42 +08:00
parent 976aab2c4e
commit 248c41335e
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
name=Jotun Owl Keeper name=Jötun Owl Keeper
url=http://magiccards.info/cs/en/9.html url=http://magiccards.info/cs/en/9.html
image=http://magiccards.info/scans/en/cs/9.jpg image=http://magiccards.info/scans/en/cs/9.jpg
value=3.757 value=3.757

View File

@ -1,4 +1,4 @@
name=Lim-Dul's High Guard name=Lim-Dûl's High Guard
url=http://magiccards.info/ai/en/18.html url=http://magiccards.info/ai/en/18.html
image=http://magiccards.info/scans/en/ai/18.jpg image=http://magiccards.info/scans/en/ai/18.jpg
value=3.516 value=3.516

View File

@ -1,4 +1,4 @@
name=Lim-Dul the Necromancer name=Lim-Dûl the Necromancer
url=http://magiccards.info/ts/en/114.html url=http://magiccards.info/ts/en/114.html
image=http://magiccards.info/scans/en/ts/114.jpg image=http://magiccards.info/scans/en/ts/114.jpg
value=4.200 value=4.200

View File

@ -1,4 +1,4 @@
name=Seance name=Séance
url=http://magiccards.info/dka/en/20.html url=http://magiccards.info/dka/en/20.html
image=http://magiccards.info/scans/en/dka/20.jpg image=http://magiccards.info/scans/en/dka/20.jpg
value=3.074 value=3.074

View File

@ -9,7 +9,7 @@ import magic.model.action.MagicPlayTokenAction;
import magic.model.event.MagicEvent; import magic.model.event.MagicEvent;
import magic.model.trigger.MagicWhenLeavesPlayTrigger; import magic.model.trigger.MagicWhenLeavesPlayTrigger;
public class Jotun_Owl_Keeper { public class J_tun_Owl_Keeper {
public static final MagicWhenLeavesPlayTrigger T2 = new MagicWhenLeavesPlayTrigger() { public static final MagicWhenLeavesPlayTrigger T2 = new MagicWhenLeavesPlayTrigger() {
@Override @Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent data) { public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent data) {

View File

@ -30,7 +30,7 @@ import magic.model.mstatic.MagicStatic;
import magic.model.target.MagicRegenerateTargetPicker; import magic.model.target.MagicRegenerateTargetPicker;
import magic.model.trigger.MagicWhenOtherPutIntoGraveyardFromPlayTrigger; import magic.model.trigger.MagicWhenOtherPutIntoGraveyardFromPlayTrigger;
public class Lim_Dul_the_Necromancer { public class Lim_D_l_the_Necromancer {
private static final MagicStatic Zombie = new MagicStatic(MagicLayer.Type) { private static final MagicStatic Zombie = new MagicStatic(MagicLayer.Type) {
@Override @Override
public void modSubTypeFlags(final MagicPermanent permanent,final EnumSet<MagicSubType> flags) { public void modSubTypeFlags(final MagicPermanent permanent,final EnumSet<MagicSubType> flags) {

View File

@ -25,7 +25,7 @@ import magic.model.mstatic.MagicStatic;
import magic.model.target.MagicGraveyardTargetPicker; import magic.model.target.MagicGraveyardTargetPicker;
import magic.model.trigger.MagicAtUpkeepTrigger; import magic.model.trigger.MagicAtUpkeepTrigger;
public class Seance { public class S_ance {
private static final MagicStatic Spirit = new MagicStatic(MagicLayer.Type) { private static final MagicStatic Spirit = new MagicStatic(MagicLayer.Type) {
@Override @Override
public void modSubTypeFlags(final MagicPermanent permanent,final EnumSet<MagicSubType> flags) { public void modSubTypeFlags(final MagicPermanent permanent,final EnumSet<MagicSubType> flags) {

View File

@ -73,7 +73,7 @@ public class FileIO {
public static Properties toProp(final InputStream ins) { public static Properties toProp(final InputStream ins) {
final Properties properties = new Properties(); final Properties properties = new Properties();
try { try {
properties.load(ins); properties.load(new BufferedReader(new InputStreamReader(ins, "utf-8")));
} catch (final IOException ex) { } catch (final IOException ex) {
System.err.println("ERROR! Unable to load from input stream, " + ex.getMessage()); System.err.println("ERROR! Unable to load from input stream, " + ex.getMessage());
} finally { } finally {