Swedish(5) — Macro Packages and Conventions
NAME
Swedish, swedish − Introduction to Swedish language support
DESCRIPTION
This reference page describes the coded character set (codeset), locale, device, and other kinds of support for the Swedish language.
Codesets
The operating system supports the following codesets for Swedish by means of locales, codeset converters, or both:
•ISO 8859-1 (ISO Latin-1)
ISO8859-1 is the string that represents this codeset in the names of locales and codeset converters. See iso8859-1(5) for more information.
•ISO 8859-15 (ISO Latin-9)
ISO8859-15 is the string that represents this codeset in the names of locales and codeset converters. See iso8859-15(5) for more information.
•UCS-2, UCS-4, and UTF-8
UCS-2, UCS-4, and UTF-8 are the strings that represent these encoding formats in the names of locales and codeset converters. See Unicode(5) for more information.
•PC code pages
cp437, cp850, cp865, and cp1252 are the strings that represent these encoding formats in the names of codeset converters. See code_page(5) for more information.
See the i18n_intro(5) and l10n_intro(5) reference pages for introductory information on codesets. The iconv_intro(5) reference page discusses codeset converters and how to use them.
Locales
The operating system supports the following Swedish locales:
•sv_SE.ISO8859-1, sv_SE.ISO8859-15, and sv_SE.UTF-8, for Sweden
Of these locales, only sv_SE.ISO8859-15 and sv_SE.UTF-8 support the euro currency sign.
You can use the locale command (see locale(1)) to find out which locales are installed on your system. See i18n_intro(5) for information on setting locale from the operating system command line.
For the Common Desktop Environment (CDE), you set locale by setting the session language. To do this, use the Language menu accessed from the Options button of the Login window.
Keyboards
The operating system supports the following VT style and PC style keyboards with Swedish characters printed on the keys:
| VT Style (105/108 keys) | PC Style (102 keys) |
| LK201-LM | LK442-RA |
| LK201-NM | LK444-AM |
| LK401-AM | LK471-AF |
| LK411-AM | LK47W-AF |
| LK450-AM | LK97W-AF |
| LK451-AM | PCXAL-AM |
| LK461-AM | PCXAL-CA |
| LK46W-AM | PCXAL-JA |
| PCXAL-MA |
For your keyboard to function correctly with your system, you must load a keyboard mapping table (keymap) that is appropriate for your keyboard’s model and language. If you load a keymap that does not correspond to your keyboard’s model and language, your keyboard behavior is unpredictable. The label located on the bottom surface of a keyboard usually specifies its model (five letter code) and language (two letter code). See the keyboard(5) reference page for general information on keymaps and instructions for loading them in different formats. The following tables supply Swedish-specific information that you need when loading keymaps.
Selecting keymaps in xkb format:
| For VT Style | For PC Style | ||
| Keyboard: | Select: | Keyboard: | Select: |
| LK201-LM | lk201 | LK442-RA | lk442 or lk44x |
| LK201-NM | lk201 | LK444-AM | lk444 or lk44x |
| LK401-AM | lk401 | LK471-AF | lk471af or lk471 |
| LK411-AM | lk411 | LK47W-AF | lk471af or lk471 |
| LK450-AM | lk450 | LK97W-AF | lk97waf or lk97w |
| LK451-AM | lk450 | PCXAL-AM | pcxalja |
| LK461-AM | lk461 | PCXAL-CA | pcxalca |
| LK46W-AM | lk461 | PCXAL-JA | pcxalja |
| PCXAL-MA | pcxalma |
Selecting keymaps in xmodmap format:
| For VT Style | For PC Style | ||
| Keyboard: | Select: | Keyboard: | Select: |
| LK201-LM | swedish lk201lm dp | LK442-RA | swedish lk444ma or |
| finnish lk444ca | |||
| swedish lk201lm tw | LK444-AM | swedish lk444ma or | |
| finnish lk444ca | |||
| LK201-NM | swedish lk201nm dp | LK471-AF | swedish pcxalja |
| swedish lk201nm tw | LK47W-AF | swedish pcxalja | |
| LK401-AM | swedish lk401am dp | PCXAL-AM | swedish pcxalja |
| swedish lk401am tw | PCXAL-CA | swedish pcxalja | |
| LK411-AM | swedish lk411am | PCXAL-JA | swedish pcxalja |
| LK450-AM | swedish lk411am | PCXAL-MA | swedish pcxalja |
| LK451-AM | swedish lk411am | ||
| LK461-AM | swedish lk411am | ||
| LK46W-AM | swedish lk411am |
Keyboards can have keys with characters printed on both the left and right half of the keycap. The way you set or use your keyboard to send different sets of characters varies from one keyboard model to another. Furthermore, your keyboard allows you to enter more characters than those printed on the keycaps. Refer to the keyboard(5) reference page for information on how to enter characters.
Printers
PostScript fonts for languages supported by the ISO 8859-1 codeset are printer resident.
SEE ALSO
Commands: locale(1)
Others: code_page(5), euro(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), iso8859-1(5), iso8859-15(5), keyboard(5), l10n_intro(5), Unicode(5)
Writing Software for the International Market