[Grok-dev] i18nextract doesn't handle utf-8

Maurits van Rees m.van.rees at zestsoftware.nl
Wed Jun 24 12:31:13 EDT 2009


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]



More information about the Grok-dev mailing list