ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.pod (file contents):
Revision 1.51 by root, Mon Feb 21 19:26:06 2005 UTC vs.
Revision 1.52 by root, Sat Mar 19 02:27:26 2005 UTC

310 310
311As you might have guessed, FreeBSD does neither define this symobl nor 311As you might have guessed, FreeBSD does neither define this symobl nor
312does it support it. Instead, it uses it's own internal representation of 312does it support it. Instead, it uses it's own internal representation of
313B<wchar_t>. This is, of course, completely fine with respect to standards. 313B<wchar_t>. This is, of course, completely fine with respect to standards.
314 314
315However, that means rxvt-unicode only works in C<POSIX>, C<ISO-8859-1> and
316C<UTF-8> locales under FreeBSD (which all use Unicode as B<wchar_t>.
317
315However, C<__STDC_ISO_10646__> is the only sane way to support 318C<__STDC_ISO_10646__> is the only sane way to support multi-language
316multi-language apps in an OS, as using a locale-dependent (and 319apps in an OS, as using a locale-dependent (and non-standardized)
317non-standardized) representation of B<wchar_t> makes it impossible to 320representation of B<wchar_t> makes it impossible to convert between
318convert between B<wchar_t> (as used by X11 and your applications) and any 321B<wchar_t> (as used by X11 and your applications) and any other encoding
319other encoding without implementing OS-specific-wrappers for each and 322without implementing OS-specific-wrappers for each and every locale. There
320every locale. There simply are no APIs to convert B<wchar_t> into anything 323simply are no APIs to convert B<wchar_t> into anything except the current
321except the current locale encoding. 324locale encoding.
322 325
323Some applications (such as the formidable B<mlterm>) work around this 326Some applications (such as the formidable B<mlterm>) work around this
324by carrying their own replacement functions for character set handling 327by carrying their own replacement functions for character set handling
325with them, and either implementing OS-dependent hacks or doing multiple 328with them, and either implementing OS-dependent hacks or doing multiple
326conversions (which is slow and unreliable in case the OS implements 329conversions (which is slow and unreliable in case the OS implements

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines