[Seaside] rendering Cyrillic in Seaside?

Karsten Kusche karsten at heeg.de
Thu Sep 19 14:31:00 UTC 2019


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 <pdebruic at gmail.com>:

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

> seaside at .squeakfoundation

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





--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20190919/5b1dfd04/attachment.html>


More information about the seaside mailing list