#291: font settings not saved
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  martinl         
      Type:  defect    |      Status:  assigned        
  Priority:  major     |   Milestone:  6.4.0           
 Component:  wxGUI     |     Version:  svn-develbranch6
Resolution:            |    Keywords:                  
  Platform:  All       |         Cpu:  All             
-----------------------+----------------------------------------------------
Comment (by glynn):

 Replying to [comment:3 msieczka]:

 > On my system encoding is pl_PL.UTF-8.

 "pl_PL.UTF-8" is the locale; the encoding is just "UTF-8".

 > Should I set the encoding in Preferences > Display > Set font be set to
 that, instead of ISO-8859-1?

 Probably. Try using some non-ASCII characters in e.g. d.text text="..."
 and see what works.

 If you have a Unicode version of wxWidgets, it's likely to use Unicode
 internally (e.g. for anything you type into a text field). That will get
 converted to a byte string (either by wxWidgets or by Python) by the time
 that it's passed to d.text, and it will probably use the locale's encoding
 to perform the conversion.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/291#comment:4>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to