Skip to contentSkip to conversation

default charset for linux-kernel code?

DISCUSSION Sam Ravnborg 2 participants 3 messages Jun 4, 2007 – Jun 5, 2007

lore
Share & tools
lore
#0 lore raw

In private mail I have discussed with a person the default charset to use for source code and in particular Kconfig files in the kernel. I recall to have seen some mails about UTF-8 but I would like to have confirmed what is the 'nofficial?' recommended charset for kernel code?

Sam

#1 lore raw
Quoted 4 lines · Sam Ravnborg

In private mail I have discussed with a person the default charset to use for source code and in particular Kconfig files in the kernel. I recall to have seen some mails about UTF-8 but I would like to have confirmed what is the 'nofficial?' recommended charset for kernel code?

Everything that gets compiled into the kernel image (including printk()'s but excluding comments) 7bit ASCII, the rest UTF-8.

For Kconfig files UTF-8 should be the right choice (assuming all *config tools support it).

Quoted 1 line

Sam

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw
Quoted 11 lines · Adrian Bunk
Quoted 4 lines · Sam Ravnborg

In private mail I have discussed with a person the default charset to use for source code and in particular Kconfig files in the kernel. I recall to have seen some mails about UTF-8 but I would like to have confirmed what is the 'nofficial?' recommended charset for kernel code?

Everything that gets compiled into the kernel image (including printk()'s but excluding comments) 7bit ASCII, the rest UTF-8.

For Kconfig files UTF-8 should be the right choice (assuming all *config tools support it).

Thanks - this also matches my understanding.

Sam