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