Script file encoding

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3364
Joined: Wed Sep 27, 2017 4:17 pm

Script file encoding

Post by CVH » Sun Mar 22, 2020 11:33 pm

Interesting to know, also seen some related topics and other less related as the multi line command pasting.
viewtopic.php?f=89&t=7077#p27256
The problem in this topic was the umlaut sign is encoded different in ANSI.
Qcad reads the script as if it is encoded in UTF-8.

Could also be the reason that some of my coding fails at specific points.
Getting my own code back by a fresh install it seems no longer to be an issue....
Developing further the same issues popped up.

Next effort I will enforce NPP to use UTF-8 and see where that brings us.
Avoiding UTF-8 BOM because the BOM is again a windows thing.

Regards,
CVH.

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”