Re: Locale +vim woes

From: Dan (dan_at_no.spam.com)
Date: 06/10/04

  • Next message: root2038_at_yahoo.com: "Help choose Unix: Solaris or HPUX or AIX or ???"
    Date: Thu, 10 Jun 2004 11:34:07 -0400
    
    

    Unfortunately no luck with that either... I am not at the same computer
    right now. The original message was the results using vim on Fedora C1.
    I tried all different ways on Solaris, but had even less luck. it just
    say ^Kss and makes the ^K bold. Just installed vim on FreeBSD5 and it
    worked fine with the default locale. not sure which im using because i
    don't happen to have the 'locale' command, and im too tired to look into it

    Bill Marcum wrote:
    > On Thu, 10 Jun 2004 03:07:12 -0400, d0x
    > <dan@no.spam> wrote:
    >
    >>not really sure where to post this one. but here goes.
    >>
    >>I am having trouble writing german letters in vi. I read somewhere that i
    >>can get the 'ess-zett' by pressing CNTRL+K then type ss. This only works
    >>with a fake locale though.
    >>
    >>for example. If I do this before entering vi, i can create the extra
    >>letters.
    >># export LANG=BLAH
    >># locale
    >>locale: Cannot set LC_CTYPE to default locale: No such file or directory
    >>locale: Cannot set LC_MESSAGES to default locale: No such file or
    >>directory locale: Cannot set LC_ALL to default locale: No such file or
    >>directory LANG=BLAH
    >>LC_CTYPE="BLAH"
    >>LC_NUMERIC="BLAH"
    >>LC_TIME="BLAH"
    >>LC_COLLATE="BLAH"
    >>LC_MONETARY="BLAH"
    >>LC_MESSAGES="BLAH"
    >>LC_PAPER="BLAH"
    >>LC_NAME="BLAH"
    >>LC_ADDRESS="BLAH"
    >>LC_TELEPHONE="BLAH"
    >>LC_MEASUREMENT="BLAH"
    >>LC_IDENTIFICATION="BLAH"
    >>LC_ALL=
    >>
    >
    > What happens if you export LANG=C or LANG=POSIX?
    >
    >
    >>BUT, if i do it like this
    >># export LANG=en_US-UTF-8
    >> it will not let me do fancy letters in vi.
    >># export LANG=de_DE-UTF-8
    >> when I open vi, everything is in germam like i expected. But, I still
    >> can't create those extra letters.
    >
    > export LANG=de_DE.UTF-8
    >


  • Next message: root2038_at_yahoo.com: "Help choose Unix: Solaris or HPUX or AIX or ???"

    Relevant Pages

    • Re: Character encoding
      ... variable to UTF-8 in /etc/profile, do you think that vim will always ... There's a whole set of environment variables that control the locale. ... but normally you'd just set LANG. ...
      (Fedora)
    • accents and moving
      ... I am using vim on ubuntu 5.10. ... I changed the default locale to fr_FR@euro in order to fit my needs. ...
      (comp.editors)
    • Re: Accented characters in less and vim
      ... You should set the locale correctly. ... If your text is generally Latin-1, your locale should be set to ... there's nothing wrong with vim. ... upgrade ever since. ...
      (uk.comp.os.linux)
    • Re: accents and moving
      ... > I am using vim on ubuntu 5.10. ... > I changed the default locale to fr_FR@euro in order to fit my needs. ... Posting powered by Vim 6.3, IBM's Model M and ten fingers ...
      (comp.editors)
    • Re: 8-bit characters anyone?
      ... On Tue, 22 Mar 2005, Giorgos Keramidas wrote: ... No such luck. ... and what didn't I do after the upgrade? ... In KDE I have configured the locale as Swedish, ...
      (freebsd-questions)