OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: wrc4 on November 30, 2006, 04:19:18 am

Title: Gb2312 On R121
Post by: wrc4 on November 30, 2006, 04:19:18 am
Hi,

I'm trying r121 on C1000 now. I would like to display Chinese characters but I don't want to change the default locale. After installing several packages I got Sylpheed to display SOME chinese emails.

Here are the packages that I installed:
  glibc-gconv-euc-cn_2.2.5_armv5tel.ipk
  glibc-gconv-gb18030_2.2.5_armv5tel.ipk
  glibc-gconv-gbbig5_2.2.5_armv5tel.ipk
  glibc-gconv-gbgbk_2.2.5_armv5tel.ipk
  glibc-gconv-gbk_2.2.5_armv5tel.ipk

The reason why I said SOME is only emails encoded with GBK worked. Those encoded with GB2312 didn't work.

I tried to type:
  iconv -f GB2312
but iconv gave me an error:
  iconv: conversion from `GB2312' to `UTF-8' not supported

I checked /usr/lib/gconv/gconv-modules and found that GB2312 is just an alias of EUC-CN. So I also tried iconv -f EUC-CN and that failed too.

I'm sure I installed the euc-cn package (See the list above), and the EUC-CN.so file is in the right place. The gbk.so in the same directory works just fine. Does this mean the EUC-CN.so file is incorrect or corrupted?

I even tried to change the alias in gconv-modules to make GB2312 point to GBK instead of EUC-CN, and now Sylpheed can display GB2312 encoded files! Anyway, I still would like to know why EUC-CN doesn't work.

======Edit:
I just want to know if this is a bug so I can log it in the bug tracking system and hopefully see it fixed in the next release.