lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: UTF-8 and case-insensitivity
    Date
    Followup to:  <16433.38038.881005.468116@samba.org>
    By author: tridge@samba.org
    In newsgroup: linux.dev.kernel
    >
    > Given how much pain the "kernel is agnostic to charset encoding"
    > attitude has cost me in terms of programming pain, I thought I should
    > de-cloak from lurk mode and put my 2c into the UTF-8 issue.
    >
    > Personally I think that eventually the Linux kernel will have to
    > embrace the interpretation of the byte streams that applications have
    > given it, despite the fact that this will be very painful and
    > potentially quite complex. The reason is that I think that eventually
    > the Linux kernel will need to efficiently support a userspace policy
    > of case-insensitivity and the only way to do case-insensitive filename
    > operations is to interpret those byte streams as a particular
    > encoding.
    >

    Realistically, the only sane way to do this is to set our foot down
    and say: UTF-8 is *the* encoding. A good step in that direction would
    be to set utf-8 to be the default NLS in the kernel, but as long as
    people keep the whole sick idea that we can continue to use
    locale-dependent encoding we're in for a world of hurt.

    That's really the long and short of it. Until people are willing to
    say "we support UTF-8, anything else and it's anyone's guess what
    happens" then nothing is going to happen.

    -hpa
    --
    PGP public key available - finger hpa@zytor.com
    Key fingerprint: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
    "The earth is but one country, and mankind its citizens." -- Bahá'u'lláh
    Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:3.925 / U:0.180 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site