Browse Source

Merge pull request #12246 from TristanVALCKE/FBXLoader

FBXLoader: fix string utf8 encoding in BinaryReader
Mr.doob 7 years ago
parent
commit
6d1dafb923
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/js/loaders/FBXLoader.js

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

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