[GRASS-dev] [bug #5195] (grass) ps.map sets encoding to iso-8859-1
Request Tracker
grass-bugs at intevation.de
Mon Oct 9 10:29:30 EDT 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=5195
-------------------------------------------------------------------------
Subject: ps.map sets encoding to iso-8859-1
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060921
On line 92 of ps/ps.map/prolog.ps the encoding is set to ISOLatin1Encoding.
If I understand correctly (and some testing confirms this) this means that the instructions file for ps.map has to be encoded in iso-8859-1 (or similar) to work, i.e. to be able to print accented characters. If you are in a UTF-8 environment, ps.map creates a ps file which doesn't show correct accented characters be it in iso or in utf.
Is there any reason why ps.map hardcodes the encoding ? Is it possible to automatically use the users encoding ?
Moritz
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list