Skip to content

Commit a390e07

Browse files
committed
Replaced Unicode chars with escapes
1 parent 4254c4e commit a390e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/mapcode/example/Example.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private static void exampleDecode() throws UnknownTerritoryException {
113113
* The fifth example tries to decode a valid Mapcode that contains
114114
* Unicode characters. This will succeed.
115115
*/
116-
final String mapcode5 = "JPN チナ.8チ";
116+
final String mapcode5 = "JPN \u30c1\u30ca.8\u30c1";
117117
try {
118118
final Point p = Mapcode.decode(mapcode5);
119119
System.out.println("Mapcode " + mapcode5 + " represents latitude "

0 commit comments

Comments
 (0)