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
On Wednesday, 27 June 2012 10:27:52 UTC-5, Marco Prosperi wrote:
>
>
> hi all, I'm putting a long text in a PluginMModal content but I face 2
> problems:
> - carriage returns of the text are not respected (also if I put some \n in
> the string)
> - characters with accents (it is an Italian string) are not shown correctly
>
> which are the solutions?
>
> thanks in advance
>
> Marco
>