[Gambas-user] Html UTF-8 ISO-8859-1

Gianluigi bagonergi at ...626...
Wed Aug 24 22:17:17 CEST 2016


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.fr at ...626...>:

> 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 <bagonergi at ...626...>:
> > 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 at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list