Alright, neither opening in NotePad and resaving with different
encodings nor copying from one editor to another worked.

Opening on NotePad++, however, and copying/pasting to a new file on
the same editor, then saving as UTF-8 solved the problem.

Eduardo

On 10 mar, 13:23, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> How did you edit using utf8 or did you insert latin-1 chars?
>
> On Mar 10, 9:44 am, Eduardo <meketr...@gmail.com> wrote:
>
> > Hi,
>
> > I modified the insert( ) function of appadmin.py from the example app
> > by passing a dict to the labels attribute of SQLFORM( ) - in other
> > words:
>
> > appadmin.py > insert( ) > SQLFORM(...... labels=dict)
>
> > The labels, with Portuguese characters, are not correctly encoded on
> > the final result. Note that both appadmin.py and layout.html are
> > declared as utf-8, and those two, together with appadmin.html, were
> > saved as utf-8.
>
> > Also note that a dict passed to SQLTABLE within appadmin.html is being
> > correctly displayed, which makes me confuse.
>
> > Any suggestions?
>
> > Eduardo
>
>

Reply via email to