Browse Source

FBXLoader: fix string utf8 encoding

Tristan VALCKE 7 years ago
parent
commit
d6f8896a6a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/js/loaders/FBXLoader.js

+ 3 - 0
examples/js/loaders/FBXLoader.js

@@ -4743,6 +4743,9 @@
 
 			}
 
+			// Manage UTF8 encoding
+			s = decodeURIComponent(escape(s));
+
 			this.skip( size );
 
 			return s;