[pyddr-devel] patch encoding (and releasing?)

Carles Pina i Estany carles at pina.cat
Sun Jun 21 17:31:17 EDT 2009


Hello,

I think that nobody answered to this message. Is the list up and
running? :)

BTW, which are the problems to release a new Pydance?

If it's the Windows version or Mac: is it possible to release a Linux
one and then after it Mac or Windows? I don't see the point that nobody
can enjoy it easily and officialy using Linux because Windows and Mac
users don't have a build. What we have now (nobody enjoying) looks
worse.

Regards,

On May/30/2009, Carles Pina i Estany wrote:
> 
> Hello,
> 
> Find attached another patch. We had a problem with the Catalan version
> and some encodings.
> 
> I will do a better version of this patch when we have released it (more
> general).
> 
> Thanks,
> 
> -- 
> Carles Pina i Estany
> 	http://pinux.info

> Index: courseselect.py
> ===================================================================
> --- courseselect.py	(revision 1057)
> +++ courseselect.py	(working copy)
> @@ -26,8 +26,8 @@
>  SORTS = {
>    "title": (lambda x, y: (cmp(x.name.lower(),
>                                y.name.lower()))),
> -  "mix": (lambda x, y: (cmp(str(x.mixname).lower(),
> -                            str(y.mixname).lower()) or
> +  "mix": (lambda x, y: (cmp(str(x.mixname.encode('iso-8859-15','ignore')).lower(),
> +                            str(y.mixname.encode('iso-8859-15','ignore')).lower()) or
>                          SORTS["title"](x, y)))
>    }
>  

-- 
Carles Pina i Estany
	http://pinux.info


More information about the pyddr-devel mailing list