WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: utf-8  (Read 2968 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
utf-8
« on: September 07, 2015, 03:34:49 PM »
did somebody else need utf-8 so far? how did it go? is there a recommended procedure to get utf-8 working on dcore?

Offline chattrhand

  • Full Member
  • ***
  • Posts: 143
Re: utf-8
« Reply #1 on: September 09, 2015, 05:42:49 AM »
hi TinyCoreTeam

I am using TinyCoreLinux with german keyboard settings. 

With TC 6.0 I the standard editor now has syntax coloring, very fine. If I open an older .txt file, a popup warns that the text has been UTF-8 transcoded. After saving this file this warning remains silent.

The special chars like  @~²³{[]}\|µ  are handled correctly on both editor and terminal, the german umlauts äöüßÄÖÜ are displayed right on the editor, but not on the Terminal, there it
shows only question marks '?' instead.

Btw, does this problem also exist on french, spanish and other keyboards?

Is there something known how to solve this?

greetings
TinyCore, SliTaz, LinuxMint, Tails, Mac ...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: utf-8
« Reply #2 on: September 09, 2015, 05:44:37 AM »
This is the dCore area, but in general you need an utf8 capable terminal with a suitable font, aterm is not one.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: utf-8
« Reply #3 on: September 09, 2015, 11:37:35 AM »
I am sure there are other dCore users using utf-8 or similar, I am sure it is just a matter of importing the locales package and setting up the environment.   I have done it with other languages when testing.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: utf-8
« Reply #4 on: September 09, 2015, 12:28:01 PM »
I would like to avoid having any language specific stuff if possible, i always was scared of that locales package :)
I did just sce-import locales and it looks like all stuff is set to en_US.UTF8, seems good.

*edit that's because LANG=en_US.UTF8 is specified in the .profile.
the locale isn't really generated i think.
« Last Edit: September 09, 2015, 12:40:15 PM by hiro »

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: utf-8
« Reply #5 on: September 11, 2015, 06:07:42 PM »
There is a section about localisation in the wiki:
http://wiki.tinycorelinux.net/dcore:installations#localisation

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: utf-8
« Reply #6 on: September 11, 2015, 07:00:42 PM »
Thanks, I missed that.
This is what I did as root:
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
locale-gen -archive