Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] HTML encoding example (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] gamma fade problem
Next thread: [MBS] Resolution class not working under win 32


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] HTML encoding example   -   David Austin
   Re: [MBS] HTML encoding example   -   Christian Schmitz
    [MBS] gamma fade problem   -   Mike D.

[MBS] HTML encoding example
Date: 25.01.03 21:54 (Sat, 25 Jan 2003 12:54:05 -0800)
From: David Austin
I found a typo in the HTML encoding example :

I changed the line:
s=decodingToHTML(s)

to be
s=decodingFromHTML(s)

and it works fine.


> dim s as string
>
> s=encodingToHTML("Some special characters like &äöüßÜÖÄ∑€®†Ω¨⁄øπ•?")
> EditField1.text=s
> s=decodingFromHTML(s) // originally was: s=decodingToHTML(s)
> #if TargetWin32
> s=NativeString(s) // RB 4.x can't display unicode on Windows.
> #endif
>
> EditField2.text=s

-------------
David Austin



--
Web8REALbasic mailing list
<email ad

Re: [MBS] HTML encoding example
Date: 25.01.03 23:01 (Sat, 25 Jan 2003 23:01:30 +0100)
From: Christian Schmitz
> I found a typo in the HTML encoding example :
>
> I changed the line:
> sÞcodingToHTML(s)
>
> to be
> sÞcodingFromHTML(s)
>
> and it works fine.

Not an error, as this was changed last week.
And examples are not updated very fast.

But still: Thanks.

mfg
Christian

--