On Sat, Aug 30, 2008 at 08:14:17PM +0200, spaetz wrote:
> Subject: [Tilesathome] Inkscape locale issues. what were they?
> 
> Inkscape
> 
> 1) we set setlocale(LC_ALL to  $Config->get("InkscapeLocale"); before each 
> call
> 2) in the commando line we use $Config->get("i18n") ? "LC_ALL=C " : ""
> 
> This gets the redundant redundancy award with a bonus for obfuscation. :-)
> Why 2 settings for 1 thing? 
> 
> This is not just ugly, but as we reset the locale to the old locale (which 
> seems to return German on German computers) after each inkscape call with:
>   setlocale(LC_ALL, $oldLocale);
> 
> This leads us to insert the dreaded comma numbers as boundary coordinates in 
> the .osm file which or/p complains about.
> 
> Why did we need to set the locale for inkscape again? I recall some bugs but 
> nothing specifically, and it's not documented in the code (tss, tss, tss).
> 
> Do we really need LC_ALL or would some LC_NUMERIC suffice? What works on 
> German boxes, German locales or 'C'?
> 

Typically i would say simple add an LC_ALL=C to the very beginning of
tilesGen and done ... I dont think anybody will be able to debug with inkscape
crashes reported in Malagasy.

Flo
-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
        Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to