localization_and_you_-_utf_8_on_netbsd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
localization_and_you_-_utf_8_on_netbsd [2021/04/01 04:53] – created, removed namespace hc9 | localization_and_you_-_utf_8_on_netbsd [2022/02/07 20:56] – [Rxvt-Unicode] jquah | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Localization and You -- UTF–8 on NetBSD ====== | + | ====== Localization and You: UTF–8 on NetBSD ====== |
NetBSD is a great little operating system, but it’s a much smaller project than Linux. This means there isn’t as much call for better internationalization support, as most of the users and developers are perfectly comfortable with ASCII or the ISO–8859–1 western European locale. This can cause some problems when using software that expects Unicode, also known as UTF–8, also known as the one true text encoding for the future. Here’s how to fix it. These instructions assume you’re using a bourne-compatible shell like ksh, bash, or zsh. If you’re using (t)csh you’re on your own. | NetBSD is a great little operating system, but it’s a much smaller project than Linux. This means there isn’t as much call for better internationalization support, as most of the users and developers are perfectly comfortable with ASCII or the ISO–8859–1 western European locale. This can cause some problems when using software that expects Unicode, also known as UTF–8, also known as the one true text encoding for the future. Here’s how to fix it. These instructions assume you’re using a bourne-compatible shell like ksh, bash, or zsh. If you’re using (t)csh you’re on your own. | ||
Line 36: | Line 36: | ||
<file config add these lines> | <file config add these lines> | ||
- | if [ $TERM == " | + | if [ "$TERM" |
| | ||
fi | fi | ||
</ | </ | ||
- | In simple terms, this tricks NetBSD into thinking your terminal is rxvt, the original program urxvt is based on. If you have a MetaArpa account, don’t worry - the MetaArray is running | + | In simple terms, this tricks NetBSD into thinking your terminal is rxvt, the original program urxvt is based on. However, the same volume of home directories is mounted by the OpenBSD machine // |
+ | |||
+ | <file config add these lines> | ||
+ | if [ " | ||
+ | [ " | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | (The latter code should work in any case, but it's pointless to run ' | ||
+ | |||
+ | If you have a MetaArpa account, don’t worry - the MetaArray is running | ||
===== Escape Characters ===== | ===== Escape Characters ===== |
localization_and_you_-_utf_8_on_netbsd.txt · Last modified: 2022/02/08 23:59 by jquah