… | |
… | |
956 | If you encounter strange problems like typing an accented character but |
956 | If you encounter strange problems like typing an accented character but |
957 | getting two unrelated other characters or similar, or if program output is |
957 | getting two unrelated other characters or similar, or if program output is |
958 | subtly garbled, then you should check your locale settings. |
958 | subtly garbled, then you should check your locale settings. |
959 | |
959 | |
960 | Rxvt-unicode must be started with the same C<LC_CTYPE> setting as the |
960 | Rxvt-unicode must be started with the same C<LC_CTYPE> setting as the |
961 | programs. Often rxvt-unicode is started in the C<C> locale, while the |
961 | programs running in it. Often rxvt-unicode is started in the C<C> locale, |
962 | login script running within the rxvt-unicode window changes the locale to |
962 | while the login script running within the rxvt-unicode window changes the |
963 | something else, e.g. C<en_GB.UTF-8>. Needless to say, this is not going to work. |
963 | locale to something else, e.g. C<en_GB.UTF-8>. Needless to say, this is |
|
|
964 | not going to work, and is the most common cause for problems. |
964 | |
965 | |
965 | The best thing is to fix your startup environment, as you will likely run |
966 | The best thing is to fix your startup environment, as you will likely run |
966 | into other problems. If nothing works you can try this in your .profile. |
967 | into other problems. If nothing works you can try this in your .profile. |
967 | |
968 | |
968 | printf '\33]701;%s\007' "$LC_CTYPE" |
969 | printf '\33]701;%s\007' "$LC_CTYPE" # $LANG or $LC_ALL are worth a try, too |
969 | |
970 | |
970 | If this doesn't work, then maybe you use a C<LC_CTYPE> specification not |
971 | If this doesn't work, then maybe you use a C<LC_CTYPE> specification not |
971 | supported on your systems. Some systems have a C<locale> command which |
972 | supported on your systems. Some systems have a C<locale> command which |
972 | displays this (also, C<perl -e0> can be used to check locale settings, as |
973 | displays this (also, C<perl -e0> can be used to check locale settings, as |
973 | it will complain loudly if it cannot set the locale). If it displays something |
974 | it will complain loudly if it cannot set the locale). If it displays something |
… | |
… | |
2245 | |
2246 | |
2246 | =begin table |
2247 | =begin table |
2247 | |
2248 | |
2248 | all all available codeset groups |
2249 | all all available codeset groups |
2249 | zh common chinese encodings |
2250 | zh common chinese encodings |
2250 | zh_ext rarely used but very big chinese encodigs |
2251 | zh_ext rarely used but very big chinese encodings |
2251 | jp common japanese encodings |
2252 | jp common japanese encodings |
2252 | jp_ext rarely used but big japanese encodings |
2253 | jp_ext rarely used but big japanese encodings |
2253 | kr korean encodings |
2254 | kr korean encodings |
2254 | |
2255 | |
2255 | =end table |
2256 | =end table |
… | |
… | |
2412 | |
2413 | |
2413 | It also enables some non-essential features otherwise disabled, such as: |
2414 | It also enables some non-essential features otherwise disabled, such as: |
2414 | |
2415 | |
2415 | some round-trip time optimisations |
2416 | some round-trip time optimisations |
2416 | nearest color allocation on pseudocolor screens |
2417 | nearest color allocation on pseudocolor screens |
2417 | UTF8_STRING supporr for selection |
2418 | UTF8_STRING support for selection |
2418 | sgr modes 90..97 and 100..107 |
2419 | sgr modes 90..97 and 100..107 |
2419 | backindex and forwardindex escape sequences |
2420 | backindex and forwardindex escape sequences |
2420 | view change/zero scorllback esacpe sequences |
2421 | view change/zero scrollback escape sequences |
2421 | locale switching escape sequence |
2422 | locale switching escape sequence |
2422 | window op and some xterm/OSC escape sequences |
2423 | window op and some xterm/OSC escape sequences |
2423 | rectangular selections |
2424 | rectangular selections |
2424 | trailing space removal for selections |
2425 | trailing space removal for selections |
2425 | verbose X error handling |
2426 | verbose X error handling |