[PythonCAD] dxf and dwg text escapes and autocad

Eric Wilhelm ewilhelm at sbcglobal.net
Thu Sep 25 23:37:03 EDT 2003


> The following was supposedly scribed by
> Eric Wilhelm
> on Thursday 25 September 2003 10:20 pm:

>From the looks of it:
>
>%% -> "" (null)
>%%% -> "%"
>%%37 -> "%"
>%%037 -> "%"
>%%a -> "a"
>%%3 -> "\003" (ascii 3)
>
>Who cooked this up in what dark corner of dos?

It gets thicker yet:

\U+00B1 and friends will make unicode symbols

(and yes they are stored as "\U+00B1" in the file!)

and even worse:

while %%a gives an "a",  %%d gives "Ø"

Why put so much into parsing when it could have just been an interface policy?

ð 

--Eric



More information about the PythonCAD mailing list