Hide Script Home › Forums › Problems and solutions in GDL › Library build system › Hide Script This topic has 4 replies, 2 voices, and was last updated 1 year, 2 months ago by Lingwisyer GC. Viewing 4 reply threads Author Posts September 17, 2019 at 06:15 #18200 Lingwisyer GCParticipant Hi all, According to the user documentation, scripts can be hidden by adding 64 to the section flag. <Script_3D SectVersion="20" SectionFlags="0" SubIdent="0"> to <Script_3D SectVersion="20" SectionFlags="64" SubIdent="0"> Would this be the the required change? My issue is that when I do this, I get an error when I attempt to convert the XML back to GDL saying; XML validation failed; invalid byte ‘ȎҪȏ’ at position 1 of 1-byte sequence Ling AC18-23 AUS 4006 Self-taught, bend it till it breaks. Win7 | E5620 x 2 | 24GB | K2200 September 17, 2019 at 08:37 #18201 Péter BaksaKeymaster Hi Ling, this should work. Make sure the XML file encoding is UTF-8 with BOM. Péter Baksa Library Platform, Software Engineer GRAPHISOFT SE September 17, 2019 at 09:02 #18202 Lingwisyer GCParticipant It is encoded to UTF-8 but how do you tell if it is with BOM? Ling. AC18-23 AUS 4006 Self-taught, bend it till it breaks. Win7 | E5620 x 2 | 24GB | K2200 September 17, 2019 at 09:38 #18206 Péter BaksaKeymaster Programmer’s text editors show it usually somewhere in the status bar (Notepad++, VS Code). To be very sure, use a hex editor, the first three bytes should be EF BB BF. Péter Baksa Library Platform, Software Engineer GRAPHISOFT SE September 18, 2019 at 09:14 #18216 Lingwisyer GCParticipant Ah, rightio. I have just been using Sublime. Checking it in a hex editor, it would appear that my modification was changing the first three bytes. It works now. Thanks, Ling. AC18-23 AUS 4006 Self-taught, bend it till it breaks. Win7 | E5620 x 2 | 24GB | K2200 Author Posts Viewing 4 reply threads The forum ‘Library build system’ is closed to new topics and replies.