OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: ShiroiKuma on September 13, 2006, 09:09:08 am

Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: ShiroiKuma on September 13, 2006, 09:09:08 am
This is a thing that I haven't been able to determine so far.

When Cacko 1.23 is installed on my 3200, the Qkonsole that it has by default works in UTF-8, i.e. you can view directories having Unicode filenames, read Unicode texts etc.

Under the default Sharp ROM, it doesn't work, even when you copy the qkonsole file from the Cacko ROM.

I thought the file that determines Unicode behavior for Qtopia is /home/QtPalmtop/qpe.sh specifically the line
Code: [Select]
export UNICODEMAP_JP...which under Cacko is
Code: [Select]
export UNICODEMAP="cp866" but even using the one from Cacko under the Sharp ROM doesn't seem to make a difference.

So it must be something else / something more...

Does anyone have an idea what it could be?
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: Jon_J on September 13, 2006, 10:52:55 am
I don't know much about Unicode, but you could try installing this module.
unicon-modules-2.4.20_1.23-lite-1_arm.ipk

I had the two below problems and the above module fixed it.

1. Unicon modules needs to be installed in Cacko Lite 1.23
if you want to output text from the console to a text file.
(Example: df -h> /hdd3/df.txt Writes this output to a text file on /hdd3)
This would not work in Cacko Lite before I installed this module

2. And if you want your text formatted correctly when you copy/paste
from the console to a text editor.

It is here:
http://web.mol.ru/~zaurus/feed/ (http://web.mol.ru/~zaurus/feed/)
-------------------------------------------------------------------------------------------------
Package: unicon-modules-2.4.20
Version: 1.23-lite-1
Section: system
Architecture: arm
Maintainer: Anton Maslovsky <my-zaurus@narod.ru>
MD5Sum: 5be5bf72f70c15a6616467fc7af69a9f
Size: 351973
Filename: unicon-modules-2.4.20_1.23-lite-1_arm.ipk
Description: UNICONE console kernel modules
------------------------------------------------------------------------------------------------
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: ShiroiKuma on September 13, 2006, 11:07:09 am
Quote
I don't know much about Unicode, but you could try installing this module.
unicon-modules-2.4.20_1.23-lite-1_arm.ipk

I had the two below problems and the above module fixed it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141317\"][{POST_SNAPBACK}][/a][/div]
Thanks for the pointer, but that's not the problem I'm having. My issue is basically that the console doesn't display the Unicode characters properly under Sharp ROM.

Cacko lite does fine in konsole, for instance when cating a UTF-8 text.

I would say that these modules have nothing to do with it, because they're not installed under my Cacko lite, yet the konsole displays the UTF-8 text fine.

So I would think, it's something else.
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: Jon_J on September 13, 2006, 11:12:16 am
I'm still a novice after 6 months. I was really frustrated after switching from cacko full to lite, and I had to discover what this module did on my own. There was no refrence to it on the forum here.

Sorry, I hoped that would be a solution for you, but was not.
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: xamindar on September 13, 2006, 02:30:59 pm
I am looking for a solution as well.  Not really a big problem for me but it would be nice to fix.  Sorry I can't be of much help.
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: Meanie on September 14, 2006, 03:22:45 am
have you tried installing the vga or unifont from the cacko feed?
Title: What Makes Cacko Qkonsole Work In Utf-8
Post by: ShiroiKuma on September 14, 2006, 03:27:23 am
Quote
have you tried installing the vga or unifont from the cacko feed?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141389\"][{POST_SNAPBACK}][/a][/div]
Yep, it's not a font issue. I've installed the vga and unifont, and I have other Unicode fonts installed. All of them render the text fine under Cacko, but it's Mojibake under Sharp ROM.

When you run embeddedkonsole-ja it works, because it has a menu item for selecting the encoding. When you select UTF-8 it works under Sharp ROM no prob. But the Qkonsole doesn't allow you to select the encoding. So it must depend on some setting somewhere... I've searched everywhere I could think of. Tinkered with qpe.sh, qkonsole.conf, even tried installing locale-utf-8 and setting LANG and LC_ALL... None of it makes a diff...

However for running emacs Qkonsole is a must, because it allows you to select which font you use and is full-screen, which you can't do with embeddedkonsole-ja...

The frustrating thing it's apparent that it's possible... i.e. if it works under Cacko it's just a matter of finding the right file/files and copying them, but I can't figure it out...