Script file encoding

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

Moderator: andrew

Post Reply
CVH
Premier Member
Posts: 516
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

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.
QCADpro 3.24.3.0 / win7pro 32 bit / 4GB / 1e generation i7 2.6Ghz / HDD GeForce GT 520

Post Reply

Return to “QCAD Developers and Contributors”