-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Japanese character set CP943C [CORE1324] #1743
Comments
Modified by: @asfernandesassignee: Adriano dos Santos Fernandes [ asfernandes ] |
Commented by: @asfernandes ICU has CP932 too. |
Commented by: KIMURA, Meiji (meijik) I think that there are three candidate for handling shift_jis extensiton. Converter Explorer In this time, I think (2) is the best candidate. But some kanji characters are mapped as multiple code, then it maynot good for Firebird 2.0 when using unicode as pivot. Please wait a week or so, I will test and make these difference clear. |
Commented by: KIMURA, Meiji (meijik) I want to make some program for check the conversion specification. What 'Internal Converter Name' of Unicode is used for pivot code in Firebird 2.0? |
Commented by: @asfernandes Please try a snapshot build >= 16169. Please report here. |
Commented by: Dimitrios Chr. Ioannidis (dchri) Adriano, actually the (1.)16169 is the revision of the http://writeBuildNum.sh file. The HEAD branch build number as result of your commits increased to 16012, so he must try a snapshot build >= 16012. regards, |
Commented by: @asfernandes Meiji, did you tested it? |
Commented by: KIMURA, Meiji (meijik) Sorry, not yet. I try to this on Firebird 2.1 Beta, but failed. I tried as above. (1) Add CP932 definition to intl/fbintl.conf (2) restart firebird server But error message said CHARACTER SET CP932 is not installed. I have to use newer than FB2.1 beta ? or there is something to do? |
Commented by: KIMURA, Meiji (meijik) Today I try to overwrite latest FB2.1 snapsot after installation FB2.1 Beta. |
Commented by: KIMURA, Meiji (meijik) It works, it seem that 'collation CP932 ibm-943_P130-1999' is good for this purpos, I will tested 2 or 3 days in detail. |
Commented by: KIMURA, Meiji (meijik) I tested it. Please impliment this functions as below. (i) charset name 'CP943C' (i) (ii) As a result, they are good choice for this issue. this function save a lot of japanese users. <charset CP943C> |
Modified by: @asfernandessummary: Please Support japanese characters cp932 => Japanese character set CP943C |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 Beta 2 [ 10190 ] |
Commented by: Minoru Yoshida (timeful2) Hi, Thanks for the addition of new spec. Using the same character sets connection is very fine. 1. CP943C to UTF8(and UNICODE_FSS) The following characters are wrong. - 0x8790 - 879C (9 chars) 2. CP943C to SJIS_0208 The following characters are wrong. - 0x7E Note: the bytes 81 the bytes 87 the bytes ED the bytes EE Regards, |
Commented by: Minoru Yoshida (timeful2) I had mistakes. This thread was fixed..... Regards, |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 12332 ] => Firebird [ 15468 ] |
Submitted by: KIMURA, Meiji (meijik)
In Firebird 2.0 or later, character set conversion method has changed, then "Windows-31J" extension were
cannot use in FB2.0 or later environment. (detail in quated mail as below)
This is a severe problem for japanese user. Typical develloper use delphi with FB1.0 or 1.5 on Windows server and
use "Windows-31J" extension, the same code don't work on FB 2.0 or later. Then many japanese user cannot migrate
from FB1.x to 2.x.
Please add character set 'cp932' to FB 2.1.
# I will help to test it.
Fortunately, iCU routine has 'Windows-31j' then use it in order to support 'cp932'.
Regards,
KIMURA, Meiji(FAMILY, Given)
//--> Quated mail as below
[Firebird-devel] Firebird 2.x cannot handle with some japanesecharacters in SJIS_0208 environment.
KIMURA, Meiji wrote:
> In Firebird 1.x, InterBase 6.x or later, 'SJIS_0208' *IS* Shift_JIS in IANA.
> But in the condition that the same character set 'SJIS_0208' between client and server,
> there is no conversion of character set. As a result, 'Windows-31J' extension can use
> with no error.
>
In previous version there is a direct (special) converter from SJIS to
something else and this converter was removed, doing the conversion
through Unicode.
> But in Firebird 2.0 environment, If the same character set 'SJIS_0208' used between
> client and server, Unicode is used as a pivot character set. as a result,
> we cannot use "Windows-31J" extension.
>
I've already heard this, maybe from Daiju.
> It seems that the same problem occurs in MySQL 4.1.
> In the case of MySQL, there is no conversion version 4.0 or before, but
> version 4.1 or later, Unicode is used as a pivot character set, then
> the same problem occurs.
>
> MySQL support character set 'cp932' as a measure for this problem.
> cp932 means 'Windows Codepage 932'. cp932 *IS* Windows-31J in IANA.
>
> I supporse if Firebird 2.0 will support character set 'cp932', we can avoid this problem.
> # When use iCU routine, use 'windows-31j' instead of 'shift-jis'.
>
This seems to be the way to go.
Adriano
Commits: 5d06ef3 f044f67
The text was updated successfully, but these errors were encountered: