« Return to Thread: i18nextract doesn't handle utf-8

Re: i18nextract doesn't handle utf-8

by Maurits van Rees-3 :: Rate this Message:

Reply to Author | View in Thread

Sebastian Ware, on 2009-06-24:

> When I use bin/i18nextract to extract my pagetemplate i18n strings it  
> turns:
>
>    "Band söker musiker"
>
> into:
>
>    "Band s\303\266ker musiker"
>
> the pagetemplate is stored with utf-8 encoding. Am I doing anything  
> obviously wrong, or is this a bug?

As far as I know it is best to keep your msgids pure ascii.

Or is your msgid something like label_band_soker_musiker (pure ascii)
and has the Default value that i18nextract puts in the pot/po files as
assistence got those escaped values?

Can you post a snippet of the generated pot file?

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]

_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

 « Return to Thread: i18nextract doesn't handle utf-8