Skip to contentSkip to conversation

Console is utf-8 by default

PATCH In review Samuel Thibault 2 participants 3 messages Dec 25, 2007 – Dec 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Console is utf-8 by default

The console is now by default in UTF-8 mode, so let's document this. BTW, document the needed "vt." prefix.

kernel-parameters.txt renamed from kernel-parameters.txt.orig +6 -7
@@ -527,30 +527,29 @@
 			Format: <area>[,<node>]
 			See also Documentation/networking/decnet.txt.
 
-	vt.default_blu=	[VT]
+	default_blu=	[VT]
 			Format: <blue0>,<blue1>,<blue2>,...,<blue15>
 			Change the default blue palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	vt.default_grn=	[VT]
+	default_grn=	[VT]
 			Format: <green0>,<green1>,<green2>,...,<green15>
 			Change the default green palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	vt.default_red=	[VT]
+	default_red=	[VT]
 			Format: <red0>,<red1>,<red2>,...,<red15>
 			Change the default red palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	vt.default_utf8=
-			[VT]
+	default_utf8=   [VT]
 			Format=<0|1>
 			Set system-wide default UTF-8 mode for all tty's.
-			Default is 1, i.e. UTF-8 mode is enabled for all
-			newly opened terminals.
+			Default is 0 and by setting to 1, it enables UTF-8
+			mode for all newly opened or allocated terminals.
 
 	dhash_entries=	[KNL]
 			Set number of hash buckets for dentry cache.
#1 lore raw

kernel-parameters.txt line 530

Quoted 5 lines · Samuel Thibault

The console is now by default in UTF-8 mode, so let's document this. BTW, document the needed "vt." prefix.

kernel-parameters.txt renamed from kernel-parameters.txt.orig +1 -1
-	vt.default_blu=	[VT]
+	default_blu=	[VT]

Reverse patch?

-hpa

#2 lore raw
Quoted 8 lines · H. Peter Anvin, le Tue 25 Dec 2007 15:45:21 -0800, a écrit :

Review

Quoted 5 lines · Samuel Thibault

The console is now by default in UTF-8 mode, so let's document this. BTW, document the needed "vt." prefix.

(quoted diff) +1 -1
-	vt.default_blu=	[VT]
+	default_blu=	[VT]

Reverse patch?

Erf, yes, it looks like I modified the .orig file.... Here it is again, in the proper way.

The console is now by default in UTF-8 mode, so let's document this. BTW, document the needed "vt." prefix.

kernel-parameters.txt +7 -6
@@ -527,29 +527,30 @@
 			Format: <area>[,<node>]
 			See also Documentation/networking/decnet.txt.
 
-	default_blu=	[VT]
+	vt.default_blu=	[VT]
 			Format: <blue0>,<blue1>,<blue2>,...,<blue15>
 			Change the default blue palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	default_grn=	[VT]
+	vt.default_grn=	[VT]
 			Format: <green0>,<green1>,<green2>,...,<green15>
 			Change the default green palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	default_red=	[VT]
+	vt.default_red=	[VT]
 			Format: <red0>,<red1>,<red2>,...,<red15>
 			Change the default red palette of the console.
 			This is a 16-member array composed of values
 			ranging from 0-255.
 
-	default_utf8=   [VT]
+	vt.default_utf8=
+			[VT]
 			Format=<0|1>
 			Set system-wide default UTF-8 mode for all tty's.
-			Default is 0 and by setting to 1, it enables UTF-8
-			mode for all newly opened or allocated terminals.
+			Default is 1, i.e. UTF-8 mode is enabled for all
+			newly opened terminals.
 
 	dhash_entries=	[KNL]
 			Set number of hash buckets for dentry cache.