Hi folks, I am searching for way to detect that ''1._FC_Tatran_Prešov_managers'' will blow up Seaside rendering. It is a WideString and I would just assume ignore it for now to render many other strings on my dev app. It displays differently in the workspace and inspectors than it does here. 'Prešov' here is 'Pre(s with a bar over it)ov' in my image. Isolate that (s with a bar over it) it is Character: code 353 How would you attack detecting this in the WideString protocol? thx in advance. |
Hi Tim,
On Sun, 13 Sep 2020, gettimothy via Squeak-dev wrote: > Hi folks, > > I am searching for way to detect that ''1._FC_Tatran_Prešov_managers'' will blow up Seaside rendering. Seaside should have no problem rendering such strings, provided that the character encoding is set properly (e.g. to utf-8). > > It is a WideString and I would just assume ignore it for now to render many other strings on my dev app. > > It displays differently in the workspace and inspectors than it does here. I presume you don't use the default font, as that doesn't have that character. > > 'Prešov' here is 'Pre(s with a bar over it)ov' in my image. > > Isolate that (s with a bar over it) it is Character: code 353 That bar is supposed to be "broken" in the middle: https://codepoints.net/U+0161 > > How would you attack detecting this in the WideString protocol? Normally you don't. Just make sure the Seaside adaptor has the proper character encoding set. Levente > > thx in advance. > > > > > > > > > > > |
Hi Levente, Character set in http://localhost:8080/config/tools is set to UTF-8 My system font is Liberation-Mono, something I imported from somewhere trying to get cyrillic to display. I have just verified that that single character causes the "spew" I am getting.
reproduces the bug. I will run this by Esteban on the Pharo discord Seaside channel. thank you for the pointers. ---- On Sun, 13 Sep 2020 10:36:27 -0400 Levente Uzonyi <[hidden email]> wrote ----
|
In reply to this post by Levente Uzonyi
Levente, btw, this relates directly to the XTreams-Parsing I am doing. So thank you again for your help. t ---- On Sun, 13 Sep 2020 10:36:27 -0400 Levente Uzonyi <[hidden email]> wrote ----
|
In reply to this post by Levente Uzonyi
works perfectly on Squeak 6.0 alpha with "latest" Seaside3 installed, but no Liberation system fault installed. hmmmm.... can I reproduce it by installing the Liberation mono-fault.... now...where did I stick that font... ---- On Sun, 13 Sep 2020 10:36:27 -0400 Levente Uzonyi <[hidden email]> wrote ----
|
ok... works perfectly on
with Liberation Mono set to default text font. The performance of setting the new font live is fantastic. It was MUCH slower on 5.3.
renders perfectly. I think I will port my work to Squeak6.0 alpha . thanks for your help. tty ---- On Sun, 13 Sep 2020 12:06:05 -0400 gettimothy <[hidden email]> wrote ----
|
Free forum by Nabble | Edit this page |