Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: utf-8 console

  1. #11
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Notice also the difference - in knoppix 6.2 the the list of supported locales is in /var/lib/belocs/locales.dep not in /var/lib/locales/supported.d/local as the article says. Knoppix uses belocs-locales package instead of locales that's the reason for this difference

  2. #12
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Here is the final polished solution to the problem of displaying characters properly in terminal and all other programs using default locale.
    Open and edit /etc/locale.gen
    There are many preconfigured locales inside, just find the right one and unmark it. If it does not exist - create it. For example If you want all your menus and programs to be displayed in English, but you need Cyrillic phonetic characters to be properly displayed then type:
    en_US.CP1251 CP1251 and save the file. Unmark any other locales which you would need in the future as well.
    Next step is to generate the locales using:
    sudo dpkg-reconfigure locales
    By default knoppix uses belocs-locales, so you might have to to this using:
    sudo dpkg-reconfigure belocs-locales-bin
    After this is done open /etc/init.d/knoppix-autoconfig and navigate to line 290, just below
    *) # American version.
    Edit LANG="C" to LANG="en_US.CP1251" or whatever locale you created. I also changed the line CHARSET="iso8859-1" to CHARSET="microsoft-cp1251" - although I am not sure if it's necessary.
    Save and reboot. Done
    If you want knoppix to boot by default in any of the preconfigured languages which are in knoppix-autoconfig, you will have to edit:
    /mnt-system/boot/syslinux/syslinux.cfg - go to the line bellow LABEL knoppix,KERNEL linux and change LANG=en to whatever language you want knoppix to boot by default

    Hope this was useful
    Last edited by mecho; 05-27-2010 at 10:46 PM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


~OVERSTOCK~ 15.6

~OVERSTOCK~ 15.6" Lenovo ThinkPad Laptop: Intel i5 8GB RAM 256GB SSD Win 10

$169.99



Lenovo T490 14

Lenovo T490 14" FHD Laptop - Intel i7-8665U (1.9GHz) 16GB Ram, 512GB SSD W10Pro

$293.49



For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New picture

For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New

$135.00



Lenovo Legion 5 15.6

Lenovo Legion 5 15.6" Gaming Laptop AMD R7 7735HS RTX 4060 16GB RAM 512GB SSD

$999.99



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$59.00



Lenovo LOQ 15.6

Lenovo LOQ 15.6" FHD 144Hz Gaming Laptop i5-12450H 8GB RAM 512GB SSD RTX 3050

$599.99



Lenovo Legion Pro 7 16

Lenovo Legion Pro 7 16" Gaming Laptop 240Hz i9-13900HX 16GB RAM 1TB SSD RTX 4080

$1929.99



Lenovo 500w Gen 3 Laptop, 11.6

Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home

$209.99



~Built in CD/DVD~ 15.6

~Built in CD/DVD~ 15.6" Lenovo ThinkPad Laptop PC: Intel i7 16GB RAM 512GB SSD

$214.95



Lenovo 2-in-1 Touchscreen Laptop/Tablet PC 11.6

Lenovo 2-in-1 Touchscreen Laptop/Tablet PC 11.6" Windows 10 4GB RAM 250GB SSD

$104.99