Online do you mean console/terminal? terminal many not support unicode.
On Thursday, 28 June 2012 03:36:43 UTC-5, Marco Prosperi wrote:
>
>
> the first issue is solved by your suggestion, thank you. For the second I
> still have problems:
> I've created my application using 'welcome' application as template. So I
> have <meta charset="utf-8" /> in layout.html and @charset "UTF-8"; in
> base.css.
>
> The strange thing is that if I run the application locally on my WinVista
> pc the accented characters are shown correctly in the browsser but on line
> (hosted on webfaction) they are not (although I use the same browser). What
> do I have to check?
>
> Marco
>
> On Thursday, June 28, 2012 12:47:56 AM UTC+2, Massimo Di Pierro wrote:
>>
>> 1) the newline are respected but not converted into <br/>. You have to do
>> this manually if that is what you want to do.
>>
>> db.table.field.represent=lambda value, row: DIV(*[P(p) for p in
>> value.split('\n')])
>>
>> 2) check your layout. Perhaps it sends an encoding other than utf8
>>
>>
>>