[Gambas-user] Xmlwriter.open always gives error 43

Karl Reinl karl.reinl at fen-net.de
Fri Nov 25 19:08:28 CET 2022


Am Freitag, dem 25.11.2022 um 17:32 +0100 schrieb Angel:
> xwri.open ("home/angel/probar.xsl", True) 
> 
> 

Sorry something unpleasant happened, but here it comes again

Salut,

  try with the third parameter, an encoding that is on your computer.

 * Encoding: By default, XmlWriter uses UTF-8 encoding to write the
file.You can specify any different encoding, if it is supported by
libxml2.

Dim xml As New XmlWriter  	
	xml.Open(strArgus[0] & ".xml",TRUE,"utf-8")  

that works for me


-- 
Amicalement
Charlie



More information about the User mailing list