Unicode, UTF-8 and CJK support

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Development
View previous topic :: View next topic  
Author Message
ricce_n



Joined: 31 Jan 2006
Posts: 7

PostPosted: Tue Jan 31, 2006 9:22 pm    Post subject: Unicode, UTF-8 and CJK support Reply with quote

I have just installed Lunar on my laptop (or it isn't fully installed jet) - but there is a few things i am missing...

Unicode and UTF-8:
This shuld be quite easy to fix - you need a few new locales in the menu for selecting locale in the glibc module. locales like:
en_US.UTF-8/UTF-8
sv_SE.UTF-8/UTF-8

You also need to change a few things in the rc scripts to change the terminal to a UTF-8 terminal.



CJK (Chinese Japanese Korean)
Chinese, Japanese and Korean have more chars that fits on a normal keybord therfor some intelegent person developed IM (Input Methode) - it is simpely you write 1 character by typing combinations of keys.

In Linux/X11 the program handeling IM is called UIM (Universal Input Methode):
http://uim.freedesktop.org/wiki/

For Japanese input UIM will require Anthy:
http://sourceforge.jp/projects/anthy

You will probebly need other programs to Chinese and Korean but I don't know what programs..

UIM is REQUIRING an UTF-8 locale to work!!!


I can probebly find out how to build uim and anthy - but I still need help to tweek the rc script and glibc module to support UTF-8 locale.
Back to top
View user's profile Send private message
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Tue Jan 31, 2006 10:07 pm    Post subject: em Reply with quote

just build glibc WITHOUT selecting locales - it will build ALL available, including utf-8 ones.
Back to top
View user's profile Send private message Send e-mail
ricce_n



Joined: 31 Jan 2006
Posts: 7

PostPosted: Mon Feb 06, 2006 5:16 pm    Post subject: Reply with quote

@sofar: thx that fixed it

As for my make UIM and Anty mdules project hear is soma basic fonts:

DETAILS:
Code:

            MODULE=kochi-substitute
           VERSION=20030809
            SOURCE=$MODULE-$VERSION.tar.bz2
        SOURCE_URL=http://prdownloads.sourceforge.jp/efont/5411/
        SOURCE_VFY=sha1:9c48f3ba33558b4d48e7764b944fcb2f5f941dd8
          WEB_SITE=http://wiki.fdiary.net/font/
           ENTERED=20050206
           UPDATED=20050206
             SHORT="Japanese fonts"

cat << EOF
Some basic fonts for Japanese
EOF


BUILD:
Code:

(
  prepare_install &&
  install -d /usr/share/fonts/kochi-substitute &&
  install *.ttf /usr/share/fonts/kochi-substitute
) > $C_FIFO 2>&1


POST_INSTALL:
Code:

fc-cache


I will soon see if I can get to the real packages
Back to top
View user's profile Send private message
ricce_n



Joined: 31 Jan 2006
Posts: 7

PostPosted: Tue Feb 07, 2006 11:18 am    Post subject: Reply with quote

Anthy 7100b done - nothing can be easier

DETAILS
Code:

            MODULE=anthy
           VERSION=7100b
            SOURCE=$MODULE-$VERSION.tar.gz
        SOURCE_URL=http://prdownloads.sourceforge.jp/$MODULE/17231/
        SOURCE_VFY=sha1:c7aad6ea0e6dc462be3926052a538b88ac2e4aee
          WEB_SITE=http://anthy.sourceforge.jp/
           ENTERED=20060207
           UPDATED=20060207
             SHORT="Anthy is a system for Japanese input method."

cat <<EOF
Anthy is a system for Japanese input method.
It converts Hiragana text to Kana Kanji mixed text.
EOF



Na other files needed - (^_^)
Back to top
View user's profile Send private message
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Wed Feb 08, 2006 12:15 am    Post subject: thanks Reply with quote

I added both modules to moonbase

PLEASE - don't use the forum to submit modules. Use the MAILINGLIST for this. The forum doesn't get scanned for submissions and it is by mere luck that I saw it myself.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group