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
  •  


SRF8Z Intel Xeon Gold 6244 8-Core 3.60GHz 24.75MB 150W Processor ***New Other*** picture

SRF8Z Intel Xeon Gold 6244 8-Core 3.60GHz 24.75MB 150W Processor ***New Other***

$1484.90



Apple MacBook Pro Apple M1 Pro 8-Core CPU 16GB RAM 512GB SSD 14

Apple MacBook Pro Apple M1 Pro 8-Core CPU 16GB RAM 512GB SSD 14" 2021 Good

$1179.97



Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails picture

Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails

$2877.90



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$339.95



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



HP Chromebase Desktop PC 21.5

HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD

$359.99



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00



Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$129.49