mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-21 13:12:17 +01:00
DroidFish: Handle non-breaking space in pgn import.
This commit is contained in:
@@ -380,7 +380,7 @@ public class GameTree {
|
|||||||
try {
|
try {
|
||||||
while (true) {
|
while (true) {
|
||||||
char c = data.charAt(idx++);
|
char c = data.charAt(idx++);
|
||||||
if (Character.isWhitespace(c)) {
|
if (Character.isWhitespace(c) || c == '\u00a0') {
|
||||||
// Skip
|
// Skip
|
||||||
} else if (c == '.') {
|
} else if (c == '.') {
|
||||||
ret.type = PgnToken.PERIOD;
|
ret.type = PgnToken.PERIOD;
|
||||||
|
|||||||
Reference in New Issue
Block a user