Hello Hermann,
> Am 29.10.2019 um 23:01 schrieb hh via use-livecode
> :
>
>>> Also LiveCode uses a BOM. If there is no UTF-8 BOM it uses
>>> Mac OS Roman. That is what you see when you type into msg
>>> put textEncode(the htmltext of widget "Browser", "UTF-8").
>>
>> Which shows exactly the
>> Also LiveCode uses a BOM. If there is no UTF-8 BOM it uses
>> Mac OS Roman. That is what you see when you type into msg
>> put textEncode(the htmltext of widget "Browser", "UTF-8").
>
> Which shows exactly the same (with umlauts and stuff) as simply:
> put the htmltext of widget "Browser"
Hello Hermann,
> Am 29.10.2019 um 22:06 schrieb hh via use-livecode
> :
>
> Hi Klaus,
>
> this is dangerous because the code could have "mixed" encodings
> if you (or your partner) edits the code in texteditors with
> different encoding settings.
we both use the same stack, so no text editor i
Hi Klaus,
this is dangerous because the code could have "mixed" encodings
if you (or your partner) edits the code in texteditors with
different encoding settings.
I looked again carefully into your first post.
You use the htmltext of the widget, so your original code is correct.
It works here as
Hi all,
I don't really understand this, but this finally does the job:
...
put "" after tText
## NO encoding before setting the htmltext!?
set the htmltext of widget "source" to tText
put textencode(tText,"UTF-8") into tNewText
put tNewText into url("file:" & Kommunikations_ordner() & "kommunikat
Hallo Hermann,
> Am 29.10.2019 um 20:02 schrieb hh via use-livecode
> :
>
> Just saw it now, overlooked that first:
>
> You script
> put textencode(tTExt,"UTF8") into url ("file": ...)
>
> This should read
> put textDecode(tTExt,"UTF8") into url ("file": ...)
mhhh, when I have this in fld 1:
Just saw it now, overlooked that first:
You script
put textencode(tTExt,"UTF8") into url ("file": ...)
This should read
put textDecode(tTExt,"UTF8") into url ("file": ...)
=
But why using files?
If you don't want to type directly in the browser widget
you can make it "mirroring" a text fiel
Hallo Hermann,
> Am 29.10.2019 um 19:14 schrieb hh via use-livecode
> :
>
> Did you check the encoding of test.html
> with BBEdit (should be Unicode (UTF-8))?
yes, BBEdit shows "Unicode (UTF-8)" in the bottom bar.
That is what's puzzling me...
Best
Klaus
--
Klaus Major
https://www.major-k.de
Did you check the encoding of test.html
with BBEdit (should be Unicode (UTF-8))?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.
Hi Brian,
> Am 29.10.2019 um 18:44 schrieb Brian Milby via use-livecode
> :
>
> Binfile?
tried that, no difference.
The dictionary als uses just FILE in the examples.
> Thanks,
> Brian
> On Oct 29, 2019, 1:33 PM -0400, Klaus major-k via use-livecode
> , wrote:
>>
>>
>>> Am 29.10.2019 um 18:
Binfile?
Thanks,
Brian
On Oct 29, 2019, 1:33 PM -0400, Klaus major-k via use-livecode
, wrote:
>
>
> > Am 29.10.2019 um 18:24 schrieb Klaus major-k via use-livecode
> > :
> >
> > Hi all,
> >
> > macOS 10.14.6, LC 9.5
> >
> > I have a file created with BBEdit with this content:
> > --
> Am 29.10.2019 um 18:24 schrieb Klaus major-k via use-livecode
> :
>
> Hi all,
>
> macOS 10.14.6, LC 9.5
>
> I have a file created with BBEdit with this content:
> --
>
>
> -
>
>
> äÄüÜöÖßßß
>
> ---
> Then I
Hi all,
macOS 10.14.6, LC 9.5
I have a file created with BBEdit with this content:
--
-
äÄüÜöÖßßß
---
Then I set the url of a browser widget to that file.
All fine so far...
Now I want to add some more text with
13 matches
Mail list logo