From 01dcd9d38ce5640597239f5b912a5b655b20fae6 Mon Sep 17 00:00:00 2001 From: feiqitian Date: Sun, 14 Oct 2012 13:17:50 +0800 Subject: [PATCH] edit mxResources.parse to support normal unicode (like \u8fd1) --- javascript/src/js/util/mxResources.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/src/js/util/mxResources.js b/javascript/src/js/util/mxResources.js index 17cf90f90..2a44981d3 100755 --- a/javascript/src/js/util/mxResources.js +++ b/javascript/src/js/util/mxResources.js @@ -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); } }