GNOME 2.0 Desktop for the Solaris Operating Environment Troubleshooting Guide

9.3.6 No Support for CP1251 and ANSI1251 Encoding

Problem 

Affects Russian locales. 

The pango X11 shaper in this release of the GNOME Desktop does not support CP1251 encoding. As a result, CP1251 or ANSI1251 encoded characters are displayed as zero-width or blank characters.  

Solution 

Use the following locales, which are supported by the pango X11 shaper, until CP1251 support is available:  

  • ru_RU.KOI8-R

  • ru_RU.ISO8859-5

  • ru_RU.UTF-8

You can use iconv conversion tables to re-encode CP1251 and ANSI1251 files. To encode a CP1251 or ANSI1251 file into a UTF-8 encoded file, in a terminal run the following command:  

/usr/bin/iconv -f CP1251 -t UTF-8 CP1251 filename > UTF-8 filename. (man iconv)