edit mxResources.parse to support normal unicode (like \u8fd1)

development
feiqitian 2012-10-14 13:17:50 +08:00
parent a29646eaef
commit 01dcd9d38c
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ var mxResources =
idx--; 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); mxResources.resources[key] = unescape(value);
} }
} }