Locale.gen and echoing LANG=es_US.UTF8 UTF-8 || Why "LANG"???

I noticed in the beginner tutorial during the locale-gen area it gives you some options.
EDIT!!! all es_US is really en_US. In bash I never typed es_US. So I changed my code examples from es_US to en_US
NOTE!! I am in learning mode so I am purposly messing with things. I have already got Arch Linux up and running... I am purposely breaking things to fix them.
First, I ran nano and looked at the locale.gen file and saw that it had a huge list.
then I ran
echo LANG=en_US.UTF-8 > /etc/locale.gen
When I saw what happened other than being WOWed by learning what echo does. I saw that the locale.gen replaced the entire file with "LANG=es_US.UTF-8" and on top of that locale-gen has an error with the code.
I would prefer this
echo en_US.UTF-8 UTF 8 >> /etc/locale.gen
So does the beginner guide have an error? Because "LANG=" was never in the locale file to begin with and just uncommenting leaves "en_US.UTF-8 UTF-8" NOT "en_US.UTF-8"
Thank you for your time!
Last edited by AcousticBruce (2015-03-08 15:21:10)

I did not tell you what the error was... that was my fault. The error went away with me fixing locale.gen to locale.conf.
Ranman: I have gone over the locale.conf wiki. Really what is hard is, when the wiki explains one thing, it explains it almost another language that I, yet again, have to look up something else. So I am hoping my question can be just treated as a simple question.
I can appreciate the intense amount of questions you get from people who do not read or care to take the time. However, I am not that guy. So can you please quit telling me to do research. Please read my whole post, I went through the beginner guide-Many times! It does not tell me what the difference between these two files are.
Yes locale.conf is in the wiki, but locale.gen is NOT. So if it is ok, see my next question...
That brings me to the next question. What is the difference of locale.conf and locale.gen?
if I run locale-gen that will pull the uncommented line and set it as language?
Or if I chose to use the echo to locale.conf
and export LANG=en_US... does this do the same thing?
Last edited by AcousticBruce (2015-03-08 18:54:46)

Similar Messages

  • Locale-gen and illegal seek

    When I try to do "locale -a" for both regular user and root, I get this:
    # locale -a
    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
    C
    POSIX
    And when I try to do "locale-gen" when "en_US.UTF-8     UTF-8" is uncommented from <i>/etc/locale.gen</i>, I get this:
    # locale-gen
    Generating locales...
    en_US.UTF-8...default character map file `ANSI_X3.4-1968' not found: Illegal seek
    I'm not sure if this is the right place to ask for help or should it be in the noob section. I'm guessing I'm starting to get this trouble after I've updated glibc since locale has been working perfectly fine before. ANSI_X3.4-1968.gz is in <i>/usr/share/i18n/charmaps/</i> and I've also tried "pacman -Sy glibc", but no succes. Any ideas?

    sounds like it could be glibc. Have you tried downgrading it? If you haven't already deleted it, it should be in /var/cache/pacman/pkg/. Use the -U switch to pacman plus that full path whatever it is.

  • [solved] locale-gen don't work

    Hi,
    I've just got new Arch install but it seems there's some slight problems with locales. I enable few of them in /etc/locale.gen. To be exact:
    #en_SG.UTF-8 UTF-8
    #en_SG ISO-8859-1
    en_US.UTF-8 UTF-8
    en_US ISO-8859-1
    #en_ZA.UTF-8 UTF-8
    #en_ZA ISO-8859-1
    #en_ZW.UTF-8 UTF-8
    #li_NL UTF-8
    #lo_LA UTF-8
    lt_LT.UTF-8 UTF-8
    lt_LT ISO-8859-13
    #lv_LV.UTF-8 UTF-8
    #lv_LV ISO-8859-13
    But when I run
    sudo locale-gen
    I get only
    Generating locales...
    [edit].Setting system wide locale...Try `localedef --help' or `localedef --usage' for more information.
    After that locale -a gives me only C and POSIX.
    Maybe I'm missing something?
    Last edited by InfernalH (2008-12-27 09:56:12)

    strange problem.
    localedef seems to be a tool to build some locales
    maybe something has gone wrong during the installation of locales.
    try to reinstall glibc :
    pacman -S glibc
    and try again (you'll probably have to edit your /etc/locale.gen again)

  • Locale-gen command not found

    Hi everyone
    I just completed a new installation of Arch on my netbook, everything was working fine but there is a problem I can not solve.
    I managed to set everything as I wanted and put the language of my XFCE and Firefox in Spanish, but then (I do not know exactly when) all programs returned to English.
    I already check the rc.conf configuration and locale.gen and everything is set for Spanish, but when I try "sudo locale-gen" I recive a message like this: "sudo: locale-gen: command not found"
    I also have problems with the keyboard, I configured xorg and rc.conf to use spanish keymap but it didn't work
    Any ideas?

    TigTex wrote:I made one arch install that has this problem... locale-gen doesnt work (for example) but it's full path works. How do I re-set the PATH variable?
    All the problems I had with the PATH, keyboard and using other language than english had solved when I stop using autostart X in inittab , if I login to the terminal and start X myself, then everything works fine.
    I am still looking for a way to start XFCE at boot without having to enter my username or password and not having the problems I told (CDM looks like the better way )
    Last edited by Andyvec (2010-11-09 17:58:28)

  • [SOLVED] locale-gen, nano, sed not available in arch-chroot

    Both the Installation Guide and the Beginner's version say to use arch-chroot before configuring. However, when I try to do this, I no longer have access to the commands I need to do the configuration (e.g. sh: nano: command not found). I can use nano from outside of the chroot, but AFAIK locale-gen needs to be run inside, and it relies on sed which is also not present.
    I'm surprised this hasn't been brought up before-- have I done something wrong?
    EDIT: mkinitcpio is also not available while in arch-chroot
    Last edited by dtomasiewicz (2012-09-06 08:07:22)

    Whef wrote:Did you use pacstrap to install the base system (and anything else you want) on your install (usually /mnt) before chrooting? Otherwise, it won't be able to access the resources from the regular install media because it will be outside of the chroot environment.
    Hmmm no I did not do this, nor did I see any mention of it on the install guide. It just says to arch-chroot then (after editing a few files) run locale-gen and mkinitcpio, neither of which are accessible within the chroot'd shell.

  • [Solved] UTF-8 locale-gen not working

    $ cat /etc/locale.conf
    Lang=en_CA.UTF-8
    $ locale -a
    C
    POSIX
    en_CA.utf8
    $ locale
    LANG=C
    LC_CTYPE="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_COLLATE="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_PAPER="C"
    LC_NAME="C"
    LC_ADDRESS="C"
    LC_TELEPHONE="C"
    LC_MEASUREMENT="C"
    LC_IDENTIFICATION="C"
    LC_ALL=
    $ cat /etc/profile.d/locale.sh
    #!/bin/sh
    unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
    LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT"LC_IDENTIFICATION
    if [ -n "$XDG_CONFIG_HOME" ] && [ -r "XDG_CONFIG_HOME/locale.conf" ]; then
    . "$XDG_CONFIG_HOME/locale.conf"
    elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then
    . "$HOME/.config/locale.conf"
    elif [ -r /etc/locale.conf ]; then
    . /etc/locale.conf
    elif [ -r /etc/rc.conf ]; then
    LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
    fi
    export LANG="${LANG:-C}"
    [ -n "$LC_CTYPE" ] $$ export LC_CTYPE
    [ -n "$LC_NUMERIC" ] $$ export LC_NUMERIC
    [ -n "$LC_TIME" ] $$ export LC_TIME
    [ -n "$LC_COLLATE" ] $$ export LC_COLLATE
    [ -n "$LC_MONETARY" ] $$ export LC_MONETARY
    [ -n "$LC_MESSAGES" ] $$ export LC_MESSAGES
    [ -n "$LC_PAPER" ] $$ export LC_PAPER
    [ -n "$LC_NAME" ] $$ export LC_NAME
    [ -n "$LC_ADDRESS" ] $$ export LC_ADDRESS
    [ -n "$LC_TELEPHONE" ] $$ export LC_TELEPHONE
    [ -n "$LC_MEASUREMENT" ] $$ export LC_MEASUREMENT
    [ -n "$LC_IDENTIFICATION" ] $$ export LC_IDENTIFICATION
    So how to get en_CA.UTF-8 in effect? And why isn't in effect automatically? I installed recently and followed the locale-gen procedure. Only graphical stuff installed is i3, qupzilla & smplayer, no gnome or anything. I guess it's not related, but Dvorak layout is working as per vconsole.conf. Thanks
    Last edited by stozi (2013-09-30 14:33:29)

    stozi wrote:thanks I have read it, didn't find anything that would help. still want to know how my /etc/locale.conf could have the wrong formating when it's never been manually edited.
    Asked and answered.  You need to edit that file - this is described in the Beginners guide and installation guide (edit: and several times on the locale page).
    Last edited by Trilby (2013-09-30 14:29:04)

  • [Solved]Emtpy locale.gen - can't generate locales

    Hi,
    after a fresh arch install I have some trouble setting locales. I searched the forum and wiki, but all solutions start with uncommenting the appropriate lines within /etc/locale.gen.
    However, this file is empty! I tried removing the file and reinstalling glibc but this didn't help.
    Any ideas?
    Thx
    Last edited by daJense (2009-09-18 16:02:17)

    It seems something went wrong with the install because this file shouldn't be empty. Installing glibc (which is also the package that contains 'locale-gen') should generate this file I think. Try reinstalling it. Or put this in there:
    ## Configuration file for locale-gen
    ## lists of locales that are to be generated by the locale-gen command.
    ## Each line is of the form:
    ## <locale> <charset>
    ## where <locale> is one of the locales given in /usr/share/i18n/locales
    ## and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
    ## Examples:
    ## en_US ISO-8859-1
    ## en_US.UTF-8 UTF-8
    ## de_DE ISO-8859-1
    ## de_DE@euro ISO-8859-15
    ## The locale-gen command will generate all the locales,
    ## placing them in /usr/lib/locale.
    ## A list of supported locales is included in this file.
    ## Uncomment the ones you need.
    ## This file names the currently supported and somewhat tested locales.
    ## If you have any additions please file a glibc bug report.
    #aa_DJ.UTF-8 UTF-8
    #aa_DJ ISO-8859-1
    #aa_ER UTF-8
    #aa_ER@saaho UTF-8
    #aa_ET UTF-8
    #af_ZA.UTF-8 UTF-8
    #af_ZA ISO-8859-1
    #am_ET UTF-8
    #an_ES.UTF-8 UTF-8
    #an_ES ISO-8859-15
    #ar_AE.UTF-8 UTF-8
    #ar_AE ISO-8859-6
    #ar_BH.UTF-8 UTF-8
    #ar_BH ISO-8859-6
    #ar_DZ.UTF-8 UTF-8
    #ar_DZ ISO-8859-6
    #ar_EG.UTF-8 UTF-8
    #ar_EG ISO-8859-6
    #ar_IN UTF-8
    #ar_IQ.UTF-8 UTF-8
    #ar_IQ ISO-8859-6
    #ar_JO.UTF-8 UTF-8
    #ar_JO ISO-8859-6
    #ar_KW.UTF-8 UTF-8
    #ar_KW ISO-8859-6
    #ar_LB.UTF-8 UTF-8
    #ar_LB ISO-8859-6
    #ar_LY.UTF-8 UTF-8
    #ar_LY ISO-8859-6
    #ar_MA.UTF-8 UTF-8
    #ar_MA ISO-8859-6
    #ar_OM.UTF-8 UTF-8
    #ar_OM ISO-8859-6
    #ar_QA.UTF-8 UTF-8
    #ar_QA ISO-8859-6
    #ar_SA.UTF-8 UTF-8
    #ar_SA ISO-8859-6
    #ar_SD.UTF-8 UTF-8
    #ar_SD ISO-8859-6
    #ar_SY.UTF-8 UTF-8
    #ar_SY ISO-8859-6
    #ar_TN.UTF-8 UTF-8
    #ar_TN ISO-8859-6
    #ar_YE.UTF-8 UTF-8
    #ar_YE ISO-8859-6
    #az_AZ.UTF-8 UTF-8
    #as_IN.UTF-8 UTF-8
    #ast_ES.UTF-8 UTF-8
    #ast_ES ISO-8859-15
    #be_BY.UTF-8 UTF-8
    #be_BY CP1251
    #be_BY@latin UTF-8
    #ber_DZ UTF-8
    #ber_MA UTF-8
    #bg_BG.UTF-8 UTF-8
    #bg_BG CP1251
    #bn_BD UTF-8
    #bn_IN UTF-8
    #bo_CN UTF-8
    #bo_IN UTF-8
    #br_FR.UTF-8 UTF-8
    #br_FR ISO-8859-1
    #br_FR@euro ISO-8859-15
    #bs_BA.UTF-8 UTF-8
    #bs_BA ISO-8859-2
    #byn_ER UTF-8
    #ca_AD.UTF-8 UTF-8
    #ca_AD ISO-8859-15
    #ca_ES.UTF-8 UTF-8
    #ca_ES ISO-8859-1
    #ca_ES@euro ISO-8859-15
    #ca_FR.UTF-8 UTF-8
    #ca_FR ISO-8859-15
    #ca_IT.UTF-8 UTF-8
    #ca_IT ISO-8859-15
    #crh_UA UTF-8
    #cs_CZ.UTF-8 UTF-8
    #cs_CZ ISO-8859-2
    #csb_PL UTF-8
    #cy_GB.UTF-8 UTF-8
    #cy_GB ISO-8859-14
    #da_DK.UTF-8 UTF-8
    #da_DK ISO-8859-1
    #de_AT.UTF-8 UTF-8
    #de_AT ISO-8859-1
    #de_AT@euro ISO-8859-15
    #de_BE.UTF-8 UTF-8
    #de_BE ISO-8859-1
    #de_BE@euro ISO-8859-15
    #de_CH.UTF-8 UTF-8
    #de_CH ISO-8859-1
    #de_DE.UTF-8 UTF-8
    #de_DE ISO-8859-1
    #de_DE@euro ISO-8859-15
    #de_LU.UTF-8 UTF-8
    #de_LU ISO-8859-1
    #de_LU@euro ISO-8859-15
    #dz_BT UTF-8
    #el_GR.UTF-8 UTF-8
    #el_GR ISO-8859-7
    #el_CY.UTF-8 UTF-8
    #el_CY ISO-8859-7
    #en_AG UTF-8
    #en_AU.UTF-8 UTF-8
    #en_AU ISO-8859-1
    #en_BW.UTF-8 UTF-8
    #en_BW ISO-8859-1
    #en_CA.UTF-8 UTF-8
    #en_CA ISO-8859-1
    #en_DK.UTF-8 UTF-8
    #en_DK ISO-8859-1
    #en_GB.UTF-8 UTF-8
    #en_GB ISO-8859-1
    #en_HK.UTF-8 UTF-8
    #en_HK ISO-8859-1
    #en_IE.UTF-8 UTF-8
    #en_IE ISO-8859-1
    #en_IE@euro ISO-8859-15
    #en_IN UTF-8
    #en_NG UTF-8
    #en_NZ.UTF-8 UTF-8
    #en_NZ ISO-8859-1
    #en_PH.UTF-8 UTF-8
    #en_PH ISO-8859-1
    #en_SG.UTF-8 UTF-8
    #en_SG ISO-8859-1
    #en_US.UTF-8 UTF-8
    #en_US ISO-8859-1
    #en_ZA.UTF-8 UTF-8
    #en_ZA ISO-8859-1
    #en_ZW.UTF-8 UTF-8
    #en_ZW ISO-8859-1
    #es_AR.UTF-8 UTF-8
    #es_AR ISO-8859-1
    #es_BO.UTF-8 UTF-8
    #es_BO ISO-8859-1
    #es_CL.UTF-8 UTF-8
    #es_CL ISO-8859-1
    #es_CO.UTF-8 UTF-8
    #es_CO ISO-8859-1
    #es_CR.UTF-8 UTF-8
    #es_CR ISO-8859-1
    #es_DO.UTF-8 UTF-8
    #es_DO ISO-8859-1
    #es_EC.UTF-8 UTF-8
    #es_EC ISO-8859-1
    #es_ES.UTF-8 UTF-8
    #es_ES ISO-8859-1
    #es_ES@euro ISO-8859-15
    #es_GT.UTF-8 UTF-8
    #es_GT ISO-8859-1
    #es_HN.UTF-8 UTF-8
    #es_HN ISO-8859-1
    #es_MX.UTF-8 UTF-8
    #es_MX ISO-8859-1
    #es_NI.UTF-8 UTF-8
    #es_NI ISO-8859-1
    #es_PA.UTF-8 UTF-8
    #es_PA ISO-8859-1
    #es_PE.UTF-8 UTF-8
    #es_PE ISO-8859-1
    #es_PR.UTF-8 UTF-8
    #es_PR ISO-8859-1
    #es_PY.UTF-8 UTF-8
    #es_PY ISO-8859-1
    #es_SV.UTF-8 UTF-8
    #es_SV ISO-8859-1
    #es_US.UTF-8 UTF-8
    #es_US ISO-8859-1
    #es_UY.UTF-8 UTF-8
    #es_UY ISO-8859-1
    #es_VE.UTF-8 UTF-8
    #es_VE ISO-8859-1
    #et_EE.UTF-8 UTF-8
    #et_EE ISO-8859-1
    #et_EE.ISO-8859-15 ISO-8859-15
    #eu_ES.UTF-8 UTF-8
    #eu_ES ISO-8859-1
    #eu_ES@euro ISO-8859-15
    #fa_IR UTF-8
    #fi_FI.UTF-8 UTF-8
    #fi_FI ISO-8859-1
    #fi_FI@euro ISO-8859-15
    #fil_PH UTF-8
    #fo_FO.UTF-8 UTF-8
    #fo_FO ISO-8859-1
    #fr_BE.UTF-8 UTF-8
    #fr_BE ISO-8859-1
    #fr_BE@euro ISO-8859-15
    #fr_CA.UTF-8 UTF-8
    #fr_CA ISO-8859-1
    #fr_CH.UTF-8 UTF-8
    #fr_CH ISO-8859-1
    #fr_FR.UTF-8 UTF-8
    #fr_FR ISO-8859-1
    #fr_FR@euro ISO-8859-15
    #fr_LU.UTF-8 UTF-8
    #fr_LU ISO-8859-1
    #fr_LU@euro ISO-8859-15
    #fur_IT UTF-8
    #fy_NL UTF-8
    #fy_DE UTF-8
    #ga_IE.UTF-8 UTF-8
    #ga_IE ISO-8859-1
    #ga_IE@euro ISO-8859-15
    #gd_GB.UTF-8 UTF-8
    #gd_GB ISO-8859-15
    #gez_ER UTF-8
    #gez_ER@abegede UTF-8
    #gez_ET UTF-8
    #gez_ET@abegede UTF-8
    #gl_ES.UTF-8 UTF-8
    #gl_ES ISO-8859-1
    #gl_ES@euro ISO-8859-15
    #gu_IN UTF-8
    #gv_GB.UTF-8 UTF-8
    #gv_GB ISO-8859-1
    #ha_NG UTF-8
    #he_IL.UTF-8 UTF-8
    #he_IL ISO-8859-8
    #hi_IN UTF-8
    #hne_IN UTF-8
    #hr_HR.UTF-8 UTF-8
    #hr_HR ISO-8859-2
    #hsb_DE ISO-8859-2
    #hsb_DE.UTF-8 UTF-8
    #ht_HT UTF-8
    #hu_HU.UTF-8 UTF-8
    #hu_HU ISO-8859-2
    #hy_AM UTF-8
    #hy_AM.ARMSCII-8 ARMSCII-8
    #id_ID.UTF-8 UTF-8
    #id_ID ISO-8859-1
    #ig_NG UTF-8
    #ik_CA UTF-8
    #is_IS.UTF-8 UTF-8
    #is_IS ISO-8859-1
    #it_CH.UTF-8 UTF-8
    #it_CH ISO-8859-1
    #it_IT.UTF-8 UTF-8
    #it_IT ISO-8859-1
    #it_IT@euro ISO-8859-15
    #iu_CA UTF-8
    #iw_IL.UTF-8 UTF-8
    #iw_IL ISO-8859-8
    #ja_JP.EUC-JP EUC-JP
    #ja_JP.UTF-8 UTF-8
    #ka_GE.UTF-8 UTF-8
    #ka_GE GEORGIAN-PS
    #kk_KZ.UTF-8 UTF-8
    #kk_KZ PT154
    #kl_GL.UTF-8 UTF-8
    #kl_GL ISO-8859-1
    #km_KH UTF-8
    #kn_IN UTF-8
    #ko_KR.EUC-KR EUC-KR
    #ko_KR.UTF-8 UTF-8
    #ks_IN UTF-8
    #ks_IN@devanagari UTF-8
    #ku_TR.UTF-8 UTF-8
    #ku_TR ISO-8859-9
    #kw_GB.UTF-8 UTF-8
    #kw_GB ISO-8859-1
    #ky_KG UTF-8
    #lg_UG.UTF-8 UTF-8
    #lg_UG ISO-8859-10
    #li_BE UTF-8
    #li_NL UTF-8
    #lo_LA UTF-8
    #lt_LT.UTF-8 UTF-8
    #lt_LT ISO-8859-13
    #lv_LV.UTF-8 UTF-8
    #lv_LV ISO-8859-13
    #mai_IN UTF-8
    #mg_MG.UTF-8 UTF-8
    #mg_MG ISO-8859-15
    #mi_NZ.UTF-8 UTF-8
    #mi_NZ ISO-8859-13
    #mk_MK.UTF-8 UTF-8
    #mk_MK ISO-8859-5
    #ml_IN UTF-8
    #mn_MN UTF-8
    #mr_IN UTF-8
    #ms_MY.UTF-8 UTF-8
    #ms_MY ISO-8859-1
    #mt_MT.UTF-8 UTF-8
    #mt_MT ISO-8859-3
    #nan_TW@latin UTF-8
    #nb_NO.UTF-8 UTF-8
    #nb_NO ISO-8859-1
    #nds_DE UTF-8
    #nds_NL UTF-8
    #ne_NP UTF-8
    #nl_AW UTF-8
    #nl_BE.UTF-8 UTF-8
    #nl_BE ISO-8859-1
    #nl_BE@euro ISO-8859-15
    #nl_NL.UTF-8 UTF-8
    #nl_NL ISO-8859-1
    #nl_NL@euro ISO-8859-15
    #nn_NO.UTF-8 UTF-8
    #nn_NO ISO-8859-1
    #nr_ZA UTF-8
    #nso_ZA UTF-8
    #oc_FR.UTF-8 UTF-8
    #oc_FR ISO-8859-1
    #om_ET UTF-8
    #om_KE.UTF-8 UTF-8
    #om_KE ISO-8859-1
    #or_IN UTF-8
    #pa_IN UTF-8
    #pa_PK UTF-8
    #pap_AN UTF-8
    #pl_PL.UTF-8 UTF-8
    #pl_PL ISO-8859-2
    #pt_BR.UTF-8 UTF-8
    #pt_BR ISO-8859-1
    #pt_PT.UTF-8 UTF-8
    #pt_PT ISO-8859-1
    #pt_PT@euro ISO-8859-15
    #ro_RO.UTF-8 UTF-8
    #ro_RO ISO-8859-2
    #ru_RU.KOI8-R KOI8-R
    #ru_RU.UTF-8 UTF-8
    #ru_RU ISO-8859-5
    #ru_UA.UTF-8 UTF-8
    #ru_UA KOI8-U
    #rw_RW UTF-8
    #sa_IN UTF-8
    #sc_IT UTF-8
    #sd_IN UTF-8
    #sd_IN@devanagari UTF-8
    #se_NO UTF-8
    #shs_CA UTF-8
    #si_LK UTF-8
    #sid_ET UTF-8
    #sk_SK.UTF-8 UTF-8
    #sk_SK ISO-8859-2
    #sl_SI.UTF-8 UTF-8
    #sl_SI ISO-8859-2
    #so_DJ.UTF-8 UTF-8
    #so_DJ ISO-8859-1
    #so_ET UTF-8
    #so_KE.UTF-8 UTF-8
    #so_KE ISO-8859-1
    #so_SO.UTF-8 UTF-8
    #so_SO ISO-8859-1
    #sq_AL.UTF-8 UTF-8
    #sq_AL ISO-8859-1
    #sr_ME UTF-8
    #sr_RS UTF-8
    #sr_RS@latin UTF-8
    #ss_ZA UTF-8
    #st_ZA.UTF-8 UTF-8
    #st_ZA ISO-8859-1
    #sv_FI.UTF-8 UTF-8
    #sv_FI ISO-8859-1
    #sv_FI@euro ISO-8859-15
    #sv_SE.UTF-8 UTF-8
    #sv_SE ISO-8859-1
    #ta_IN UTF-8
    #te_IN UTF-8
    #tg_TJ.UTF-8 UTF-8
    #tg_TJ KOI8-T
    #th_TH.UTF-8 UTF-8
    #th_TH TIS-620
    #ti_ER UTF-8
    #ti_ET UTF-8
    #tig_ER UTF-8
    #tk_TM UTF-8
    #tl_PH.UTF-8 UTF-8
    #tl_PH ISO-8859-1
    #tn_ZA UTF-8
    #tr_CY.UTF-8 UTF-8
    #tr_CY ISO-8859-9
    #tr_TR.UTF-8 UTF-8
    #tr_TR ISO-8859-9
    #ts_ZA UTF-8
    #tt_RU.UTF-8 UTF-8
    #[email protected] UTF-8
    #ug_CN UTF-8
    #uk_UA.UTF-8 UTF-8
    #uk_UA KOI8-U
    #ur_PK UTF-8
    #uz_UZ ISO-8859-1
    #uz_UZ@cyrillic UTF-8
    #ve_ZA UTF-8
    #vi_VN.TCVN TCVN5712-1
    #vi_VN UTF-8
    #wa_BE ISO-8859-1
    #wa_BE@euro ISO-8859-15
    #wa_BE.UTF-8 UTF-8
    #wo_SN UTF-8
    #xh_ZA.UTF-8 UTF-8
    #xh_ZA ISO-8859-1
    #yi_US.UTF-8 UTF-8
    #yi_US CP1255
    #yo_NG UTF-8
    #zh_CN.GB18030 GB18030
    #zh_CN.GBK GBK
    #zh_CN.UTF-8 UTF-8
    #zh_CN GB2312
    #zh_HK.UTF-8 UTF-8
    #zh_HK BIG5-HKSCS
    #zh_SG.UTF-8 UTF-8
    #zh_SG.GBK GBK
    #zh_SG GB2312
    #zh_TW.EUC-TW EUC-TW
    #zh_TW.UTF-8 UTF-8
    #zh_TW BIG5
    #zu_ZA.UTF-8 UTF-8
    #zu_ZA ISO-8859-1

  • Locale-gen error (solved) sort of

    I am getting the following error using locale-gen...
    [root@mauller obmenu-1.0]# locale-gen
    Generating locales...
      en_US.UTF-8.../usr/sbin/locale-gen: line 41:  2780 Segmentation fault      localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
    the only ones i un-commented in /etc/locale.gen are the en-us ones.  any thoughts on this one?

    Sorry for responding to an old thread, but I have exactly the same problem of funkyou after having updated glibc to 2.5.2
    locale-gen
    Generating locales...
    it_IT.UTF-8.../usr/sbin/locale-gen: line 41: 7650 Segmentation fault localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
    ldd /usr/bin/localedef
    linux-gate.so.1 => (0xffffe000)
    libc.so.6 => /lib/libc.so.6 (0x0064e000)
    /lib/ld-linux.so.2 (0x002d9000)
    localedef -i it_IT -c -f UTF-8 -A /usr/share/locale/locale.alias it_IT.UTF-8
    Segmentation fault
    Not sure if the above command is correct.
    locale -a
    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_COLLATE to default locale: No such file or directory
    C
    POSIX
    I've this in locale.gen (but even commenting or uncommenting other locales, it segfaults anyway)
    cat /etc/locale.gen | grep '^[^#]'
    it_IT.UTF-8 UTF-8
    it_IT ISO-8859-1
    it_IT@euro ISO-8859-15
    I've already tried reinstalling glibc and rebooted a couple of times without any luck. Any idea?

  • Running `locale-gen` closes ssh session

    I am trying to regenerate locales on a remote server running Archlinux. However, running `locale-gen` disconnects me, and I do not believe the job completes. I had the same problem on both Putty and the terminal (ssh from local box).
    The locales that are uncommented are `en_US.UTF-8` and `en_US`. However, this problem only occurs if en_US.UTF-8 is uncommented. There is no problem when I am only generating the `en_US` locale.
    This happens whether or not I have root privileges.
    Does anyone have an idea as to why this happens? Thanks for any help!

    The remote system could be using the locale you are trying to regenerate. I don't know exactly why it kicks you, my best guess is that you're session is running that locale and regenerating kind of restarts the whole session thing. MY BEST GUESS.
    You could setup a bash script, with some delay.
    sleep 40
    locale-gen >> check.txt
    and login after 1 min and check  the check.txt file for the locale-gen output command to see if everything went fine.
    Last edited by Ekimino (2010-05-21 04:30:39)

  • HT1349 I have registered with my local library and can download books.  But these are not being shown in ITunes, the Library does not show 'audiobooks'.  I have an ipod 6G.  can anyone help please?

    I have recently purchased (from the States) an ipod nano 6th generation.  I belong to a local library and can download books from the audiobooks online section.  Problem is, my iPod when synced to iTunes, does not show Library as a category and audiobooks.  For some reason, it is allowing me to download the books to my iPod, but I am unable to delete them from the iPod, and also, it is giving an echo (I think somehow it is downloading twice which is giving an echo effect).  Not sure what is going on, but if anyone can advise me on this I would be very grateful.

    Hello mrsbonniesue
    If you have an issue with the audiobook showing up in music, check to see if those tracks are labeled as audio books or music. The article below will explained as well as I have highlighted the main portion for changing that information.
    iTunes 11 for Windows: Edit song and CD information
    http://support.apple.com/kb/PH12360
    Identify an item that you imported from a CD as an audiobook, so it appears under Audiobooks instead of Music (click the Options button and choose Audiobook from the Media Kind pop-up menu). If you do this, iTunes also remembers your place in the audiobook
    Regards,
    -Norm G.

  • Ipod nano 2nd gen and dock/alarm clock

    i have read through alot of the posts and have not seen anything similar to my question.
    i got my daughter an ipod nano for xmas.
    we really dont leave the computer on alot and she was wanting a docking station/speaker setup. i found one that charges it/ has speakers and is also an alarm clock.
    she likes the idea of having the alarm clock with it.
    this is the model she got: curtis iMode ip210 link to where it was bought http://hhgregg.com/ProductDetail.asp?SID=0B568914D18A4CBEB2E80A95E8C46043&Produc tID=17180
    we have not hooked it up yet because of a small problem maybe. (hooked up to power that is)
    it came with a bunch of different adapters for the different ipod versions. well the nano one is incorrect. i guess due to ours being a 2nd gen version.
    the ipod goes right on the dock fine with out it.
    the little plastic adapter i got with the ipod kinda works in the slot of the radio but would need a little modification to snap in. the difference is the outside shape and would just needed some sanding. i have called the support number for the radio and all i could get from the was its not compatable. and i am not too sure why.
    from what i have found out is all the ipod dock connectors are the same and there is no difference. not sure about this just what i have noticed.
    i tried to call my local apple store and ask them but that guy started talking about firewire and problems. i told him how it docked and what it was and he still insisted on talking about firewire and those problems. i hung up as it didnt sound like he knew anything.
    so now would i be ok in useing the adapter i got with the ipod and makeing some slight mods(sanding outside edge) to it. or is the something totally different between the 1st gen and 2nd gen that would mess up the ipod if put in this unit.
    the reason i want this unit as it will replace her current alarm clock and she has a loft bed and its the only unit that we have seen that will fit and is in our price range.
    thank you for your help
    dawg
    ipod nano 2nd gen   Windows XP  

    The dock adaptor that came with the iPod is meant to fit Apple's universal dock and not a 3rd party accessory.
    The reason you are having issues is because although the dock connectors on iPods are all the same (the pins are in the same place), the connector on the second gen nano is in a slightly different place than on the first. If you look at it from the bottom with the iPod face up, it's slightly more to the left. This, and the fact that it has a metal case with rounded edges, has made the new nano incompatible with almost all these type of accessories.
    It's been mentioned here several times, and a few people have been able to get the manufacturer of the dock to supply them with an adaptor.

  • Hello, I've just purchased apple tv, 3rd gen, and I'm streaming from my mac book pro to my tv, and it keeps skipping slightly, i have reasonably good internet speed, approx 7-8 Gb.

    hi, my apple tv i have purchased which is 3rd gen, is skipping when i stream to my tv, I'm using the latest software on my mac book pro, which is approx 2 years old, my router is only a few months old, but i am using power line adapters, but i have no problem downloading or watching internet telly 4OD/YOUTUBE etc.
    is their anything i can do as i have only  bought the apple tv for mainly streaming from my mac.
    thanks
    gary

    If you are streaming from your Mac then your internet speed would be irrelevant. This is done over the local network, and that is where the issue lies.
    Reboot ATV and router
    Make sure router is up to date
    If Apple TV is connecting via wifi, connect with ethernet
    Go to istumbler.net to get a report of the network, look for signal strength and noise

  • IPod Nano (6th gen) and Technogym treadmill

    Hi,
    I have a 6th gen iPod Nano and I have been using it with nike+ for a while. In particular, I have been using the transmitter plugged in the ipod and the sensor in my nike shoe to track my running data and eventually upload it to nikeplus.com. Hence, I have one sensor linked.
    Today, I went to my local gym and saw a Technogym treadmill with a big touchscreen and a possibility to dock an ipod. (I assume that the model of treadmill is a couple of years old, because it had a TV, fan, ipod support, etc., but no internet support. Here is the image of the exact treadmill - http://cityfitness.lv/upload/IMG_0452.JPG).
    Moreover, I plugged in my 6th gen ipod nano. Set up and started a 5k run on the technogym treadmill. My ipods music was accessible on the technogym instantly. Also, I saw that during the workout the ipod's screen showed "Nike+. Workout data is recording" or something like that.
    I did the 5k and finished the workout. I unplugged the iPod nano but my workout did not appear under Fitness - History. When I got home, I connected the ipod to iTunes, and the ordinary-afer-a-workout popup asking whether I want to send workout data to nikeplus appeard. I clicked yes. BUT, again, nikeplus.com does not show my technogym workout and neither does itunes.
    The only thing appearing in iTunes, is a new sensor. Its name is "Gym User 1" or something like that.
    So the question is. How can I get my 6th gen iPod Nano to fully work with technogym treadmill?
    Thanks,
    Reinis

    Hello mark0198,
    I'm afraid not. Your computer must meet the minimum requirements.
    Mac computer with USB 2.0 port, Mac OS X v10.5.8 or later, and iTunes 10 or later
    B-rock

  • UTF8, UTF-16 & Cloudscape

    Hi everyone,
    I have a problem when I'm trying to store and retrieve Big5 chars into Cloudscape
    (which claims to support Unicode just the Java does). The following is the steps:
    1. Prepare my Big5 chars
    2. Run native2ascii -encoding UTF-16 (UTF8 gives MalformedInputException)
    3. Running native2ascii -reverse perfectly reverses everything and I could see the Big5 chars.
    So I guess this should right.
    4. Inserted into Cloudscape by SQL: insert into theuser values('\uXXXX', 'elite02'); just to try out.
    SQL select shows ? though.
    5. I retrieve the String with normal rs.getString();
    6. I output the string to a file to check if it is correct by doing:
    new OutputStreamWriter() with UTF-16 (I got some other character), UTF8 (gives a ?) and even Big5 and I got crap.
    Correct me if I'm wrong but my rationale is:
    Java stores String as Unicode UTF-16 and since Cloudscape claims that I can just get
    the Unicode String without any manual conversion, logically my String should contain
    the right thing. Now when I output the String to file, wouldn't using the UTF-16 solve my
    problem? I mean since String is UTF-16 and my output is also UTF-16, right?
    Or do I still need to convert the String from Cloudscape to UTF8 (bear in mind this actually
    gives exception with native2ascii tool) or UTF-16 before I can output it to UTF-16 file?
    Or am I totally goofed up with these encoding stuff?
    thank you guys in advance!

    Hi,
    the -encoding paramter of native2ascii is the encoding of your sourcefile. (the targetfile is ASCII-encoded).
    So step 2 should be native2ascii -encoding Big5.Running native2ascii -reverse with the same encoding as in step 2 should always lead back to your original input, regardless of the -encoding parameter used (as long as it is the same).
    I dont know Cloudscape, but I guess inserting your Strings from Step 2 by a java-program should work.
    But you cant insert the values direct via SQL (because \uxxxx has only meaning in java).
    Regards
    Jan

  • Got java.lang.IllegalStateException: IOException: "utf-8"

    Can someone please help me with this? I got a java.lang.IllegalStateException: IOException: "utf-8" error when calling web service. The exception is like the following:
    javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalStateException: IOException: "utf-8"
    at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:196)
    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
    at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:196)
    at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:215)
    at oracle.sysman.connector.common.ConnectorServiceSoapWrapper.sendRequestBase(ConnectorServiceSoapWrapper.java:202)
    ConnectorServiceSoapWrapper is my class and in sendRequestBase() method I had the following statement to invoke the web service.
    Dispatch<SOAPMessage> dispatch = service.createDispatch(null, SOAPMessage.class, Service.Mode.MESSAGE);
    SOAPMessage responseMsg = dispatch.invoke(msg);
    dispatch object is an instance of javax.xml.ws.Dispatch and service is an instance of javax.xml.ws.Service. It looks like the error is thrown out before the web service is called. Does anyone have any idea what's happening here?
    My java version is
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)
    Thanks!

    I was reading the source code of com.sun.xml.ws.client.dispatch.DispatchImpl
    http://www.docjar.com/html/api/com/sun/xml/ws/client/dispatch/DispatchImpl.java.html
    And the following piece of the code is part of the stack trace.
    +195 } catch(Throwable e){+
    +196 // it could be a RuntimeException resulting due to some internal bug or+
    +197 // its some other exception resulting from user error, wrap it in+
    +198 // WebServiceException+
    +199 throw new WebServiceException(e);+
    +200 }+
    Anyone has any hint? Thanks!

Maybe you are looking for

  • What is the best way to repeatedly load random commercials?

    Hi Everyone, Any help with the above question would be useful.  Here's my end goal: I want to display commercials on a screen at my wife's bakery.  The script should load one commercial, play it, then unload it, randomly load another, and so on. I am

  • MacBook Pro, BlueTooth Fax Modem with Treo 700p EVDO

    MacOSX 10.4.6 w/ all of the latest Software Updates. I followed the steps below: 1. In System Preferences, go to Print & Fax 2. Open the Printer Browser (click "+" in the Printing tab) 3. Option-click on "More Printers" 4. Select "Advanced" in the po

  • Internet Problems--Mac OS only

    I am having issues with my internet. I have bootcamp installed on my computer, and when I am in the Windows side of my computer internet explorer works fine, so I don't think it's and Airport/Wireless issue. When I'm in the Mac side though the intern

  • CPPR + DMS

    Hi Experts, SRM 7 EHP 1 ECC 6 EHP 5 PPS scenario using CPPR We have attachments at PR line item level. The attachments are through DMS. Through CPPR we are trying to create a RFx directly from the PR. We are using PI. Please let us know if there is a

  • Instant client libraries 32-11.1.0.6.0

    I install Oracle 11g (windows 32 bit platform) on windows 2003. It installed successfully and is up. From another windows 2003 machine, I am trying to connect from a windows application to that oracle server using instant client libraires. I had down