[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: An internationalization patch of KSpread and KChart
From: Toshitaka Fujioka <tositaka () soft ! kusa ! ac ! jp>
Date: 2000-12-02 17:30:59
[Download RAW message or body]
Hello.
David Faure wrote:
> Why isn't it enough to call fromLocal8Bit in kaiman ?
In Japan, "Shift JIS" is used under Microsoft Windows,
and "EUC-JP" is used under UNIX.
Almost all the MP3's tags are written under Windows.
> What's QT_UNICODE and why do you force latin1 in khtml ?
QT_UNICODE is a macro defined in "qt-m17n" patch.
This patch extends ISO 8859-1 to Unicode
and displays Unicode characters without locale support.
> You changed .ascii in .latin1 in korganizer, but they do the same thing :)
The reason is because QString::ascii() became obsolete by Qt2.2.1
reference doc.
> The korganizer patch shows some interesting errors though.
I'm very sorry. I reexamine in detail once again.
> What's m17n ? :)
KPresenter can accept only U+0000-U+00FF characters.
An abolishment of this limitation means multilingualization, I think.
# It is Toshihiro Inoue and Takeda that answered your questions.
I tried to use CVS (HEAD branch) of 01/12.
About internationalization of KSpread and KChart.
KSpread did not include a problem. However, KChart include a problem.
A problem is for Japanese after a number to disappear with "KChart Data
Editor".
I made a patch. I will attach a patch.
Bye.
["koffice-kchart-i18n-20001203.diff" (text/plain)]
diff -ur koffice.org/kchart/parser.cc koffice/kchart/parser.cc
--- koffice.org/kchart/parser.cc Sat Dec 2 20:55:33 2000
+++ koffice/kchart/parser.cc Sun Dec 3 02:00:00 2000
@@ -212,8 +212,13 @@
{
res = 0;
char ch = get_c();
- if ( !isdigit(ch) )
- return String;
+ /*if ( !isdigit(ch) )
+ return String;*/
+ do {
+ if ( !isdigit(ch=get_c()) )
+ return String;
+ count++;
+ } while ( count != (int)current->text.length() );
do {
res = res*10 + ch - '0';
} while (isdigit(ch=get_c()));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic