winky
Posts: 15
Joined: Sat Jul 11, 2015 7:15 pm

Parser error with accented characters in scripts section

HI,
I apologize for my non native English.

:arrow: First of all thank you for your great work!! I love S3d!

With reference to this 3D viewtopic.php?f=9&t=2886 I would like to point out that even if some accented character are written on notes in gcode notes on Scripts section UTF8 and xml file will "fight" togheter.
Accented characters will be transformed in ???? question marks, so the xml file will broke.

Results :
- unpredictable behaviours on slicing,
- auto configuration section will be damaged and not anymore available
- Exporting the profile, would be not possible to reimport it as a message of broken xml (parser failed) will popup
- Some datas will be written in wrong position.
- If for some reason you forget to remove processes and close the program, once it is restarded a message will pop up telling you that there is a problem on the file(*1).

(*1) this point in specific happen also on Models section if model name is long and or have accented words.

I do think is something related to UTF8 and latin1 or whatever.

(<---) used just here for your convenience to find the accented words.
Example to test it :

Insert on gcode section:

Starting Script :

; R2 Evo G-code Starting
M80 ; Accende la stampante con alimentatore ATX e relè (<---)
M11 ; Attiva funzione Fine Filo
...
...
...
..etcetera.

or /and
Tool Change Script :

;Tool Change GCode
T[old_tool]; Seleziona l'ultimo tool utilizzato
G60 ; memorizza le coordinate
G1 F2000 E-10 ; Retraggo subito 10 mm così (<---) non sbrodolo;
.............
.......
........
...Etcetera.


Best regards
Take care
Ciao
Andrea.
alexandrezia
Posts: 2
Joined: Mon Aug 31, 2015 8:56 pm

Re: Parser error with accented characters in scripts section

I had the same issue,
Had to reconfigure all my settings from scratch and avoiding accented chars

Return to “Troubleshooting and Bug Reports”