Sponsored Content
Operating Systems Linux Red Hat How to load a charset on RHEL 6.6 ? Post 302937887 by fpmurphy on Tuesday 10th of March 2015 11:22:23 AM
Old 03-10-2015
Assuming that you want ISO-8859-15 console fonts

Confirm that /lib/kbd/unimaps/iso15.uni exists

If the file exist, add the following setting to /etc/sysconfig/i18n.
Code:
SYSFONTACM="iso15"


Last edited by fpmurphy; 03-10-2015 at 12:35 PM..
This User Gave Thanks to fpmurphy For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

2. UNIX for Advanced & Expert Users

Unix charset

Hi, How can I find out the charset on a Unix server (SUNOS 5.2)? I tried locale charmap and returned 646. What does 646 mean? If I send an xml file with encoding="utf-8", should the server be able to handle the file, even with special characters in it? Thanks. (0 Replies)
Discussion started by: iengca
0 Replies

3. SuSE

sqlldr : charset conversion while loading ?

Hi, I am a newbie to Linux(Suse).I am facing a problem with 'sqlldr' utility while trying to upload data to Database tables.My backend is Oracle and is using the UTF8 encoding format.I am trying to load a datafile which contains some Western European Characters.While loading am getting an... (0 Replies)
Discussion started by: DILEEP410
0 Replies

4. Shell Programming and Scripting

Problem identifying charset of a file

Hi all, My objective is to find out the charset using which a file is encoded. (The OS is SunOs) I have set NLS_LANG to AR8MSWIN1256 and spooled the file. When viewed the file using vi, I saw the following \307\341\321\355\307\326 I then inserted the line containing these codes in a... (3 Replies)
Discussion started by: sridhar_423
3 Replies

5. Shell Programming and Scripting

Likely charset issue with tree command?

Hi All I'm using a tree command in a script that for me outputs:- | - - DIRECTORYNAME However a different user is getting the following output:- aaa (actually with an umlat above them) DIRECTORYNAME I'm not sure where this could be coming from, any ideas anyone? (0 Replies)
Discussion started by: Bashingaway
0 Replies

6. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

7. UNIX for Dummies Questions & Answers

locale and glibc and charset

what's the relationship among locale, glibc, charset, charmap and fonts? why locale needs to be generated by glibc? how? what are in the locale-archive file? and what are in font files? (0 Replies)
Discussion started by: vistastar
0 Replies

8. UNIX for Advanced & Expert Users

ISO 88591 file encoding charset in Linux

Hello Experts, please help to provide any insight as I am facing issue migrating java application from hpux to redhat. The java program is using InputStreamReader to read a file without specifying any charset parameter. However, in new Linux Redhat 5.6 environent, when reading a file that... (1 Reply)
Discussion started by: sonic_air
1 Replies

9. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

10. UNIX for Dummies Questions & Answers

RHEL6 Terminal Charset Encoding

Hi All, I'm facing an issue when i ssh to a router and exporting the output to a txt file. ssh johndoe@10.0.0.1 -a | tee file.txt Closing the connection and opening the .txt file. There are strange 'domino's' appearing here and there. See the screenshot below. ... (2 Replies)
Discussion started by: Antonio Fargas
2 Replies
SETFONT(8)						       International Support							SETFONT(8)

NAME
setfont - load EGA/VGA console screen font SYNOPSIS
setfont [-O font+umap.orig] [-o font.orig] [-om cmap.orig] [-ou umap.orig] [-N] [font.new ...] [-m cmap] [-u umap] [-C console] [-hH] [-v] [-V] DESCRIPTION
The setfont command reads a font from the file font.new and loads it into the EGA/VGA character generator, and optionally outputs the pre- vious font. It can also load various mapping tables and output the previous versions. If no args are given (or only the option -N for some number N), then a default (8xN) font is loaded (see below). One may give several small fonts, all containing a Unicode table, and setfont will combine them and load the union. Typical use: setfont Load a default font. setfont drdos8x16 Load a given font (here the 448-glyph drdos font). setfont cybercafe -u cybercafe Load a given font that does not have a Unicode map and provide one explicitly. setfont LatArCyrHeb-19 -m 8859-2 Load a given font (here a 512-glyph font combining several character sets) and indicate that one's local character set is ISO 8859-2. Note: if a font has more than 256 glyphs, only 8 out of 16 colors can be used simultaneously. It can make console perception worse (loss of intensity and even some colors). FONT FORMATS
The standard Linux font format is the PSF font. It has a header describing font properties like character size, followed by the glyph bit- maps, optionally followed by a Unicode mapping table giving the Unicode value for each glyph. Several other (obsolete) font formats are recognized. If the input file has code page format (probably with suffix .cp), containing three fonts with sizes e.g. 8x8, 8x14 and 8x16, then one of the options -8 or -14 or -16 must be used to select one. Raw font files are binary files of size 256*N bytes, containing bit images for each of 256 characters, one byte per scan line, and N bytes per character (0 < N <= 32). Most fonts have a width of 8 bits, but with the framebuffer device (fb) other widths can be used. FONT HEIGHT
The program setfont has no built-in knowledge of VGA video modes, but just asks the kernel to load the character ROM of the video card with certain bitmaps. However, since Linux 1.3.1 the kernel knows enough about EGA/VGA video modes to select a different line distance. The default character height will be the number N inferred from the font or specified by option. However, the user can specify a different character height H using the -h option. CONSOLE MAPS
Several mappings are involved in the path from user program output to console display. If the console is in utf8 mode (see uni- code_start(1)) then the kernel expects that user program output is coded as UTF-8 (see utf-8(7)), and converts that to Unicode (ucs2). Otherwise, a translation table is used from the 8-bit program output to 16-bit Unicode values. Such a translation table is called a Unicode console map. There are four of them: three built into the kernel, the fourth settable using the -m option of setfont. An escape sequence chooses between these four tables; after loading a cmap, setfont will output the escape sequence Esc ( K that makes it the active transla- tion. Suitable arguments for the -m option are for example 8859-1, 8859-2, ..., 8859-15, cp437, ..., cp1250. Given the Unicode value of the symbol to be displayed, the kernel finds the right glyph in the font using the Unicode mapping info of the font and displays it. Old fonts do not have Unicode mapping info, and in order to handle them there are direct-to-font maps (also loaded using -m) that give a correspondence between user bytes and font positions. The most common correspondence is the one given in the file trivial (where user byte values are used directly as font positions). Other correspondences are sometimes preferable since the PC video hardware expects line draw- ing characters in certain font positions. Giving a -m none argument inhibits the loading and activation of a mapping table. The previous console map can be saved to a file using the -om file option. These options of setfont render mapscrn(8) obsolete. (However, it may be useful to read that man page.) UNICODE FONT MAPS
The correspondence between the glyphs in the font and Unicode values is described by a Unicode mapping table. Many fonts have a Unicode mapping table included in the font file, and an explicit table can be indicated using the -u option. The program setfont will load such a Unicode mapping table, unless a -u none argument is given. The previous Unicode mapping table will be saved as part of the saved font file when the -O option is used. It can be saved to a separate file using the -ou file option. These options of setfont render loadunimap(8) obsolete. The Unicode mapping table should assign some glyph to the `missing character' value U+fffd, otherwise missing characters are not trans- lated, giving a usually very confusing result. Usually no mapping table is needed, and a Unicode mapping table is already contained in the font (sometimes this is indicated by the .psfu extension), so that most users need not worry about the precise meaning and functioning of these mapping tables. One may add a Unicode mapping table to a psf font using psfaddtable(1). OPTIONS
-h H Override font height. -m file Load console map or Unicode console map from file. -o file Save previous font in file. -O file Save previous font and Unicode map in file. -om file Store console map in file. -ou file Save previous Unicode map in file. -u file Load Unicode table describing the font from file. -C console Set the font for the indicated console. (May require root permissions.) -v Be verbose. -V Print version and exit. NOTE
PC video hardware allows one to use the "intensity" bit either to indicate brightness, or to address 512 (instead of 256) glyphs in the font. So, if the font has more than 256 glyphs, the console will be reduced to 8 (instead of 16) colors. FILES
/lib/kbd/consolefonts is the default font directory. /lib/kbd/unimaps is the default directory for Unicode maps. /lib/kbd/consoletrans is the default directory for screen mappings. The default font is a file default (or default8xN if the -N option was given for some number N) perhaps with suitable extension (like .psf). SEE ALSO
psfaddtable(1), unicode_start(1), loadunimap(8), utf-8(7), mapscrn(8) 11 Feb 2001 SETFONT(8)
All times are GMT -4. The time now is 08:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy