msgid u"邀請已送到%(email)s"
and add "# coding=utf-8" at the first line of your .py file.
2012/1/4 李 强
> Lack of a full stop,maybe.
>
> 在 2011-12-5,下午2:07, Tsung-Hsien 写道:
>
> > Hello
> >I get the wrong message when type a string which needed to format
> > such as
> >
> > msgid "An inviatation wa
Lack of a full stop,maybe.
在 2011-12-5,下午2:07, Tsung-Hsien 写道:
> Hello
>I get the wrong message when type a string which needed to format
> such as
>
> msgid "An inviatation was sent to %(email)s."
> msgstr "邀請已送到%(email)s"
>
> ---
On Dec 5, 6:05 am, Tsung-Hsien wrote:
> I have been delete the "#, fuzzy" and remain the "#, python-format",
> but the string still show English.
You do need to remove the ", fuzzy" in order for the translations to
be used.
But you also need to recompile the .mo files after you make any
changes t
Thank you!
the default character of MySQL does not utf-8, so after altering the
character, the message can show on the page.
However, the message shows only English, except I don't use the %
(email)s.
I have been delete the "#, fuzzy" and remain the "#, python-format",
but the string still show Eng
Please look at the thread below:
http://stackoverflow.com/questions/873419/converting-to-safe-unicode-in-python
And you would want to make sure that database encoding style is already set
to UTF-8 (if applicable).
2011/12/5 Tsung-Hsien
> Hello
>I get the wrong message when type a string whi
Hello
I get the wrong message when type a string which needed to format
such as
msgid "An inviatation was sent to %(email)s."
msgstr "邀請已送到%(email)s"
--
Incorrect string value: '\xE9\x82\x80\xE8\xAB\x8B...
6 matches
Mail list logo