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
  •  


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box

$149.99



2TB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter picture

2TB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter

$9.99



Samsung Galaxy Tab E 8

Samsung Galaxy Tab E 8" 16GB Black SM-T377V (Verizon) Android Tablet IG1000

$31.95



Genuine Samsung Book Cover Keyboard for 14.6

Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G

$89.99



Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray picture

Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray

$24.10



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$40.00



Samsung PM983a M.2 22110 SSD NVMe PCIe 3.0x4 1.88TB picture

Samsung PM983a M.2 22110 SSD NVMe PCIe 3.0x4 1.88TB

$88.50



512GB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter picture

512GB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter

$21.99



SAMSUNG  24

SAMSUNG 24" Monitor Full HD LED/LCD - GRADE A CONDITION - S24E650PL

$69.95