Non-UTF-8 encoding used when exporting WebGL file (.html) and slow export performance #18792
Open
2 tasks done
Labels
File format: WebGL
Mod: Core
Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Status: Confirmed
The issue was confirmed by others
Type: Bug
This issue or PR is related to a bug
Is there an existing issue for this?
Problem description
When using the "Export" function in FreeCAD to create a
WebGL file (.html)
, two issues are observed:Encoding Mismatch: The exported file is encoded using the system default encoding (ANSI, which typically points to encodings like GB2312 depending on the system). However, the HTML structure declares
<meta charset="utf-8">
. This mismatch can lead to rendering issues and is not the expected behavior.Slow Export Performance: Exporting a WebGL file takes an unusually long time, significantly longer than exporting a .step file. The WebGL export can take several minutes, while .step export completes almost instantly.
Full version info
Subproject(s) affected?
None
Anything else?
Steps to Reproduce
Expected Behavior
Code of Conduct
The text was updated successfully, but these errors were encountered: