[QGIS-trac] [Quantum GIS] #2525: Width of field contains cyrillic values

Quantum GIS qgis at qgis.org
Sun Mar 7 14:00:37 EST 2010


#2525: Width of field contains cyrillic values
--------------------------------+-------------------------------------------
   Reporter:  dr                |              Owner:  nobody       
       Type:  enhancement       |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.5.0
  Component:  Vectors           |            Version:  HEAD         
   Keywords:                    |   Platform_version:               
   Platform:  Windows           |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 I'm not sure is it bug or not, but it could throw into confusion some
 users. When create new vector layer and set its width need keep in mind,
 that width of field it is size of field in bytes, not in symbols! For
 example, I create text field and set width=3. I try to fill this field
 with Cyrillic word 'баг' and when I've save changes in layer I've get the
 following results:
 [http://gis-lab.info/share/DR/utf.png]
 I guess this is because for encoding cyrillic symbols in utf uses 2 bytes.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2525>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list