* [PATCH] general: convert "kernel" subdirectory to UTF-8
@ 2007-04-17 17:19 John Anthony Kazos Jr.
2007-04-17 17:29 ` Andreas Schwab
2007-04-18 4:56 ` Dmitry Torokhov
0 siblings, 2 replies; 5+ messages in thread
From: John Anthony Kazos Jr. @ 2007-04-17 17:19 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial
[-- Attachment #1: Type: TEXT/PLAIN, Size: 989 bytes --]
From: John Anthony Kazos Jr. <jakj@j-a-k-j.com>
Convert the "kernel" subdirectory of the tree to UTF-8. The only file
modified is <kernel/sys.c>.
Signed-off-by: John Anthony Kazos Jr. <jakj@j-a-k-j.com>
---
I can't get my mail client to send in ISO-8859-1 instead of UTF-8, so the
actual patch is attached in octet-stream format. The below patch is just
for reference and will almost certainly NOT work.
Also, since the patch includes both encodings, whichever encoding you
select while viewing it will display one correct and one garbled line.
However, the bytecodes -are- correct.
diff -uprN linux-2.6.21-rc7.orig/kernel/sys.c linux-2.6.21-rc7.mod/kernel/sys.c
--- linux-2.6.21-rc7.orig/kernel/sys.c 2007-04-17 11:42:13.000000000 -0400
+++ linux-2.6.21-rc7.mod/kernel/sys.c 2007-04-17 13:16:59.000000000 -0400
@@ -1292,7 +1292,7 @@ asmlinkage long sys_setfsuid(uid_t uid)
}
/*
- * Samma på svenska..
+ * Samma på svenska..
*/
asmlinkage long sys_setfsgid(gid_t gid)
{
[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 396 bytes --]
diff -uprN linux-2.6.21-rc7.orig/kernel/sys.c linux-2.6.21-rc7.mod/kernel/sys.c
--- linux-2.6.21-rc7.orig/kernel/sys.c 2007-04-17 11:42:13.000000000 -0400
+++ linux-2.6.21-rc7.mod/kernel/sys.c 2007-04-17 13:16:59.000000000 -0400
@@ -1292,7 +1292,7 @@ asmlinkage long sys_setfsuid(uid_t uid)
}
/*
- * Samma på svenska..
+ * Samma på svenska..
*/
asmlinkage long sys_setfsgid(gid_t gid)
{
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] general: convert "kernel" subdirectory to UTF-8
2007-04-17 17:19 [PATCH] general: convert "kernel" subdirectory to UTF-8 John Anthony Kazos Jr.
@ 2007-04-17 17:29 ` Andreas Schwab
2007-04-17 17:31 ` John Anthony Kazos Jr.
2007-04-18 4:56 ` Dmitry Torokhov
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2007-04-17 17:29 UTC (permalink / raw)
To: John Anthony Kazos Jr.; +Cc: linux-kernel, trivial
"John Anthony Kazos Jr." <jakj@j-a-k-j.com> writes:
> I can't get my mail client to send in ISO-8859-1 instead of UTF-8, so the
Actually your mail is encoded in iso-8859-15.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] general: convert "kernel" subdirectory to UTF-8
2007-04-17 17:29 ` Andreas Schwab
@ 2007-04-17 17:31 ` John Anthony Kazos Jr.
0 siblings, 0 replies; 5+ messages in thread
From: John Anthony Kazos Jr. @ 2007-04-17 17:31 UTC (permalink / raw)
To: Andreas Schwab; +Cc: linux-kernel, trivial
> > I can't get my mail client to send in ISO-8859-1 instead of UTF-8, so the
>
> Actually your mail is encoded in iso-8859-15.
Is it? I've sent a bajillion test messages to myself and they all ended up
UTF-8, meaning it actually recursively encoded the original UTF-8 in the
message.
I'm using alpine. Know any way to explicitly set another encoding such
that it does -not- get converted on the other end? I tried the
character-set and charset options but they didn't help at all.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] general: convert "kernel" subdirectory to UTF-8
2007-04-17 17:19 [PATCH] general: convert "kernel" subdirectory to UTF-8 John Anthony Kazos Jr.
2007-04-17 17:29 ` Andreas Schwab
@ 2007-04-18 4:56 ` Dmitry Torokhov
2007-04-18 9:47 ` David Härdeman
1 sibling, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2007-04-18 4:56 UTC (permalink / raw)
To: John Anthony Kazos Jr.; +Cc: linux-kernel, trivial
On Tuesday 17 April 2007 13:19, John Anthony Kazos Jr. wrote:
> /*
> - * Samma på svenska..
> + * Samma på svenska..
> */
Translating this comment into english so more people could understand it
would be better option.
--
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] general: convert "kernel" subdirectory to UTF-8
2007-04-18 4:56 ` Dmitry Torokhov
@ 2007-04-18 9:47 ` David Härdeman
0 siblings, 0 replies; 5+ messages in thread
From: David Härdeman @ 2007-04-18 9:47 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: John Anthony Kazos Jr., linux-kernel, trivial
On Wed, April 18, 2007 6:56, Dmitry Torokhov said:
> On Tuesday 17 April 2007 13:19, John Anthony Kazos Jr. wrote:
>> Â /*
>> - * Samma på svenska..
>> + * Samma pÃÂ¥ svenska..
>> Â */
>
> Translating this comment into english so more people could understand it
> would be better option.
The comment says "(The) same in swedish"
--
David Härdeman
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-18 10:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 17:19 [PATCH] general: convert "kernel" subdirectory to UTF-8 John Anthony Kazos Jr.
2007-04-17 17:29 ` Andreas Schwab
2007-04-17 17:31 ` John Anthony Kazos Jr.
2007-04-18 4:56 ` Dmitry Torokhov
2007-04-18 9:47 ` David Härdeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®