[Localization] codec can't decode byte (was: Localization efforts needed)

Sayamindu Dasgupta sayamindu at gmail.com
Mon Sep 21 16:02:45 EDT 2009


On Mon, Sep 21, 2009 at 9:54 PM, Alexander Dupuy <alex.dupuy at mac.com> wrote:
> Chris writes:
>>
>> Please log onto the Pootle server and reviewing your favorite language(s).
>>
>
> I was attempting to update my Projects to include the 0.84 release project
> (although I'm not 100% certain that these are the ones you are talking
> about, as opposed to the the unversioned Sucrose, Fructose etc.) and I got
> the following unfortunately familiar error:
>
> Error 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in
> range(128)
>
> Sayamindu wrote (in July 2008):
>>
>> Apologies for the delay in fixing this - apparently a user had
>> registered with a non ASCII username which was choking Pootle. Had to
>> find it out and disable it. It should work properly now.
>
> There is a Pootle bug about this
> (http://bugs.locamotion.org/show_bug.cgi?id=954) but it doesn't have much in
> the way of details or anything...  I'm cc'ing Friedel Wolff, who was
> assigned that ticket, in case he has any suggestions or comments (or in case
> you can provide him with more details on this problem).
>
>
> Sayamindu later (in August 2008) wrote:
>>
>> For cases like yours, (and Bastien's), please mail
>> translate at rt.laptop.org to ensure that this does not get lost in my
>> mailbox. :-)
>
> I am cc'ing that address as well, although I'm not sure that it is relevant
> anymore or even used now that the OLPC/Sugar Labs Pootle instance has moved
> over to Sugar Labs.


For some reason - it seems that the username may not be the issue here
- the error is being triggered when a specific page is being accessed
(and the logs are showing up very odd page accesses like xo_core,
xo_bundled etc - which have been done away with long ago). I fixed one
potential issue - some PO files had the encoding set to ASCII even
when they were using UTF-8 text. Let see if that solves the problem.
Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


More information about the Localization mailing list