[Gambas-user] Html UTF-8 ISO-8859-1
Gianluigi
bagonergi at ...626...
Thu Aug 25 15:46:06 CEST 2016
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 <bagonergi at ...626...>:
> 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
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestHtml-Replace-0.0.2.tar.gz
Type: application/x-gzip
Size: 13079 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160825/bcbecd8c/attachment.bin>
More information about the User
mailing list