Merge pull request #10 from feiqitian/develop

edit mxResources.parse to support normal unicode (like \u8fd1)
development
Gaudenz Alder 2012-10-15 02:20:02 -07:00
commit 303d98dee6
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ var mxResources =
idx--;
}
var value = lines[i].substring(index + 1, idx);
var value = lines[i].substring(index + 1, idx).replace(/\\(?=u[a-fA-F\d]{4})/g,"%");
mxResources.resources[key] = unescape(value);
}
}