It is a bug?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

It is a bug?

Вася Чайко
Hi.

I have changed some lines in style of a site. In one place the line is displayed correctly, and in other Russian letters are deduced by questions. It is a bug?

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

Login.PNG (58K) Download Attachment
bug.PNG (42K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: WebFieldSet legend Unicode patch (was: It is a bug?)

Janko Mivšek
Hi Vasja,

Вася Чайко wrote:

> I have changed some lines in style of a site. In one place the line is
> displayed correctly, and in other Russian letters are deduced by
> questions. It is a bug?

Yep, legend in WebFiledSet is not UTF8 converted while rendering to
HTML. Here is the patch:

WebFieldSet>>printHTMLPageOn: aStream for: aRequest on: aSession
   ...
   self legend notNil ifTrue:
     [aStream nextPutAll: self identMore, '<legend>',
        (AIDASite convertToWeb: self legend on: aSession),
        '</legend>', self eol].
   ...


This patch will be included in netxt release. Thanks a lot for the bug
report!

Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: WebFieldSet legend Unicode patch (was: It is a bug?)

Nicolas Petton
Le dimanche 17 août 2008 à 22:26 +0200, Janko Mivšek a écrit :

> Hi Vasja,
>
> Вася Чайко wrote:
>
> > I have changed some lines in style of a site. In one place the line is
> > displayed correctly, and in other Russian letters are deduced by
> > questions. It is a bug?
>
> Yep, legend in WebFiledSet is not UTF8 converted while rendering to
> HTML. Here is the patch:
>
> WebFieldSet>>printHTMLPageOn: aStream for: aRequest on: aSession
>    ...
>    self legend notNil ifTrue:
>      [aStream nextPutAll: self identMore, '<legend>',
> (AIDASite convertToWeb: self legend on: aSession),
> '</legend>', self eol].
>    ...
>
>
> This patch will be included in netxt release. Thanks a lot for the bug
> report!
I included the patch in the repository.

Cheers!

Nico
>
> Janko
>
>

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

signature.asc (196 bytes) Download Attachment