diff options
Diffstat (limited to 'blaconvert.java')
-rw-r--r-- | blaconvert.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/blaconvert.java b/blaconvert.java index 7a1d087..0ade3f4 100644 --- a/blaconvert.java +++ b/blaconvert.java @@ -126,11 +126,10 @@ public class blaconvert { boolean currency = false; if(amount.startsWith("£") || amount.startsWith("$") || amount.startsWith("¥")) { - amount.replaceAll("£","%A3"); - amount.replaceAll("$","%24"); - amount.replaceAll("€","%8010"); + amount.replaceAll("\u00A3","%A3"); + amount.replaceAll("\u0024","%24"); amount.replaceAll("\u20AC","%8010"); - amount.replaceAll("¥","%A5"); + amount.replaceAll("\u00A5","%A5"); currency = true; } |