Re: rendering Cyrillic in Seaside?

Karsten Kusche <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
use #text: instead of #html:, it’ll do correct escaping. #html: is used only when you want to write plain HTML to the canvas, which is something you typically don’t do, because that’s what the canvas is there for in the first place.

Karsten



Georg Heeg eK
Wallstraße 22
06366 Köthen

Tel.: 03496/214328
FAX: 03496/214712
Amtsgericht Dortmund HRA 12812


Am 19. September 2019 um 16:23:56 MESZ schrieb Paul DeBruicker <[email protected]>:

In your page what did you try?


html html: 'Планктон'

should work.


It shows up as ????? in Pharo because the font you're using doesnt have the
glyphs.  There might be a font on your system that does.  You can change the
font in the settings






tty wrote
> Hi All.
>
>
>
> I am writing a web application where I will need to render Cyrillic:
>
>
>
> [[ru:Планктон]]
>
> It does not render correctly in a Workspace. it renders as
> [[ru:????????]],
>
> But Tobias was kind enough to show that the ByteString does in fact
> contain the correct Cyrillic codes.
>
>
>
>
> I have done a quick test to see if it would render via Seaside on an html
> page by some magic.
>
>
>
> It does not .
>
>
>
> Any ideas?
>
>
>
> Thanks in advance,
>
>
>
> tty
> _______________________________________________
> seaside mailing list

> [email protected]

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.