Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Some 3D format, problem when importing/exporting process if contains Non-latin
02-09-2019, 07:30 AM
Post: #1
Some 3D format, problem when importing/exporting process if contains Non-latin
In current Wings3D v2.2.2.
I found some problems when import non latin file-name/material-name/texture-name.
These caused by a string that has Non-Latin... diacritical-marks (ex:ÁắǼąĄǽĈ) and/or CJK(ex:汉书한어漢字あ) ... characters.
Diacritical-marks are using French ,Türkçe,Türkçe,Deutsch,Español,Svenska and Italiano.

I checkd the problem happen Windows10 and MacOS.
(Sorry,I couldn't check it on Linux,but they probably will occur.)

I attached zip file that contains 2 wings test files and screenshots.
,and intentionally named various items to clarify encoding bugs. See screenshot in zip file.
(Data is set in Object/Light/NormalMap/RooughnessMap/BaseColorMap/Material/Texure/fileName)

These can be categorized into 3 types. Crash when file export,Texture-file-linking is broken, Mojibake
The former 2 are both diacritcal-mark and CJK characters. Mojibake is occur only when encode CJK characters.

( NOTE: To recreate the troubles , Use the test files and Each 3D formats files that exported from them. )

List of the troubles
--Crash---
*Open wings file,and immediately crash-log output for pick material name with Non Latin characters.
*Lightwave/modo exporter can't work and output crash log
*VRML2.0 exporter can't export file (3D data isn't export)

--Texture linking broken--
*3ds and obj importers can't with texture image files that contains Non-Latin string(It isn't appear in OutLiner,and not display in 3D geometry)
--Texture linking broken for sub folder(obj importer only) --
*obj importer can't link texture image files that reference to subfolder path (It isn't appear in OutLiner,and not display in 3D geometry)

--Mojibake--
*imported 3ds data is mojibake-ed (The file saved with UTF16 encoding by Wings3D ,but Wings3D dosen't import the decode it perfectly)
*imported obj data is mojibake-ed

FYI:Diacritical mark ,CJK characters, Mojibake
https://en.wikipedia.org/wiki/CJK_characters
https://en.wikipedia.org/wiki/Diacritic
https://en.wikipedia.org/wiki/Mojibake

FYI:3DS Max help -internal data encoding is utf16-
https://help.autodesk.com/view/3DSMAX/20...8E89F5_htm

This verification in many file formats takes a lot of time and effort. Sad
So I can provide the files and information that was resource exported at this time for developer.
Please contact me if you are interest this problem.
(I have crash-logs and sample-data exported to each 3D format by Wings3D.)


---------------------------------------------------------------------------
Best regards

.zip  0_original_wings_file.zip (Size: 111.78 KB / Downloads: 2)
Reply


Messages In This Thread
Some 3D format, problem when importing/exporting process if contains Non-latin - tkbd - 02-09-2019 07:30 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)