I do not know if it is semantically correct, but this solution seems to work .
Regards Gianluigi 2016-08-24 22:17 GMT+02:00 Gianluigi <bagone...@gmail.com>: > Yes, I know the Button2 code posted last night is wrong, perhaps it would > be better so: 😂 > -------------------------------- > Dim s As String > > s = "/tmp" &/ $sPath > File.Save(s, TextEditor1.Text) > WebView1.Url = s > --------------------------------- > The wine was so fresh and good (Corvo, Sicilian white wine) ... > > Regards > Gianluigi > > 2016-08-23 22:44 GMT+02:00 Fabien Bodard <gambas...@gmail.com>: > >> I have read something interresting about charset detecting. >> >> Some work to benoit : >> >> http://www-archive.mozilla.org/projects/intl/detectorsrc.html >> >> https://github.com/mozilla/gecko-dev/tree/master/extensions/ >> universalchardet/src/base >> >> >> I think it is an interesting function to add to the the string class. >> And it is compatible GPL. >> >> 2016-08-23 20:41 GMT+02:00 Gianluigi <bagone...@gmail.com>: >> > Hi all, >> > I need to make minor modifications to the source of existing html files. >> > Unfortunately, some files are saved properly (UTF-8), while others do >> not >> > (ISO-8859-1). >> > I have tried in various ways, using Conv$() also combined with Html(), >> > using the TextArea and TextEditor but I could not anything, any >> suggestions? >> > I would avoid the use of the shell (eg. open the html file in gedit, >> etc.) >> > I attach explanation test. >> > >> > Regards >> > Gianluigi >> > >> > ------------------------------------------------------------ >> ------------------ >> > >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >
TestHtml-Replace-0.0.2.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user