Author Topic: Foreign Characters  (Read 5142 times)

geeko

  • Newbie
  • *
  • Posts: 27
    • View Profile
Foreign Characters
« on: December 27, 2007, 06:12:14 pm »
Is there anyway to work with these characters like æøå for example?

I need a shortcut key to type the letters, for example escape + a = å

I also need some programs that will read files which have æåø correctly

Is this possible? If anyone has experience with it plz help me.

Actually i just realized that i only need a text editor that understands extended-ascii and a way to map key-combinations to a special ascii char. It should be possible but i have NO idea how
SL-C1000 cacko 1.23 upgrad firmware

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Foreign Characters
« Reply #1 on: December 27, 2007, 06:20:04 pm »
Quote from: geeko
Is there anyway to work with these characters like æøå for example?

I need a shortcut key to type the letters, for example escape + a = å

I also need some programs that will read files which have æåø correctly

Is this possible? If anyone has experience with it plz help me.

Actually i just realized that i only need a text editor that understands extended-ascii and a way to map key-combinations to a special ascii char. It should be possible but i have NO idea how

in vim, CTRL-V then a control sequence allows inputting of some special characters, does that do anythign for you?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

geeko

  • Newbie
  • *
  • Posts: 27
    • View Profile
Foreign Characters
« Reply #2 on: December 27, 2007, 07:44:10 pm »
i havent tried it, but i  tested emacs in console cause emacs has special char support but it doesn't show up correctly so if vim is run from console i think the same will happen.
SL-C1000 cacko 1.23 upgrad firmware

Frederic Bergeron

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Foreign Characters
« Reply #3 on: January 02, 2008, 12:46:41 pm »
Quote from: geeko
i havent tried it, but i  tested emacs in console cause emacs has special char support but it doesn't show up correctly so if vim is run from console i think the same will happen.

It may be obvious but just in case... Have you tried to use a different font?  Some fonts are limited  to a restricted character set.
toMOTko Flashcard Project
SL-C1000 Sharp ROM

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Foreign Characters
« Reply #4 on: January 02, 2008, 10:29:09 pm »
When you say "extended ASCII" what exactly do you mean ?

IMHO, 8 bit ASCII is a poor choice; I think it's better to select a character coding you want to use, then you can work out which font supports it, keymaps, hotkeys, how to create the text.

I had the same kind of problem using Thai, I had to create some tools to make it easier.
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

geeko

  • Newbie
  • *
  • Posts: 27
    • View Profile
Foreign Characters
« Reply #5 on: January 17, 2008, 03:31:36 pm »
the point isn't that it has to be 8 bit ascii, but that 8bit ascii is sufficient.

If you are using a text editor that supports UTF-8, Unicode or whatever + you can map keys to special chars, PLEASE tell me how you do it and what apps you use.

Thx in advance
SL-C1000 cacko 1.23 upgrad firmware

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Foreign Characters
« Reply #6 on: January 17, 2008, 03:48:05 pm »
Look on Meanie's website, specifically here:
http://www.users.on.net/~hluc/myZaurus/custom.html#mapping
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Frederic Bergeron

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Foreign Characters
« Reply #7 on: January 17, 2008, 04:48:13 pm »
In VIM, if I set the font to unifont, and type :

a<CTRL-H>a, the character å appears correctly.  

Digraphs must be enabled.

Same thing if I do:

<CTRL-V>229

It works also with other characters you mentioned.
« Last Edit: January 17, 2008, 04:49:03 pm by Frederic Bergeron »
toMOTko Flashcard Project
SL-C1000 Sharp ROM

geeko

  • Newbie
  • *
  • Posts: 27
    • View Profile
Foreign Characters
« Reply #8 on: January 18, 2008, 03:22:08 pm »
and you are just running VIM through standard console right? btw no i didn't even think about the fonts thing.. i will check it out for sure

@jon_j: thx, this looks like it will definitely help
« Last Edit: January 18, 2008, 03:27:26 pm by geeko »
SL-C1000 cacko 1.23 upgrad firmware

Frederic Bergeron

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Foreign Characters
« Reply #9 on: January 18, 2008, 05:07:20 pm »
I'm using VIM on Qkonsole with unifont as you can see here :

[img]http://www.fbergeron.com/zaurus/ForeignCharacters.png\" border=\"0\" class=\"linked-image\" /]
toMOTko Flashcard Project
SL-C1000 Sharp ROM

geeko

  • Newbie
  • *
  • Posts: 27
    • View Profile
Foreign Characters
« Reply #10 on: January 19, 2008, 03:00:34 pm »
ye u are right

that + the mapping is what i need

i should be able to figure it out now
thx guys
SL-C1000 cacko 1.23 upgrad firmware