Skip to content

Removed Unicode Ü from GPFORCE's INERTIA label and warning#232

Merged
victorkemp merged 1 commit into
MystranSolver:devfrom
victorkemp:remove_unicode_Udd
May 30, 2026
Merged

Removed Unicode Ü from GPFORCE's INERTIA label and warning#232
victorkemp merged 1 commit into
MystranSolver:devfrom
victorkemp:remove_unicode_Udd

Conversation

@victorkemp
Copy link
Copy Markdown
Collaborator

Avoids character encoding problems where external tools reading the f06 file as Latin-1 or CP1252 turns Ü into two characters, misaligning the values on the rest of the line. Although Ü was encoded in UTF-8, external tools can't always assume UTF-8
because older version of Mystran encoded this character in Latin-1/CP1252 which is invalid UTF-8.

Before:

 INERTIA FORCE (-Mgg*Üg)  0.000000E+00  0.000000E+00  3.187583E-14  0.000000E+00  0.000000E+00  0.000000E+00

After:

 INERTIA FORCE            0.000000E+00  0.000000E+00  3.187583E-14  0.000000E+00  0.000000E+00  0.000000E+00

Also, replaces Ü with a (for acceleration) in the warning that sometimes appears.

@victorkemp victorkemp merged commit c23525f into MystranSolver:dev May 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant