dbf icon indicating copy to clipboard operation
dbf copied to clipboard

Ascii code page 855

Open magiulianoUNICEF opened this issue 2 years ago • 4 comments

Hi Ethan,

first of all, amazing job! This library is like gold for me! I work in UNICEF in Ukraine, and unfortunately the Cyrillic alphabet here is slightly different. I see your library supports the codepage 866, but in Ukraine they use the codepage 855. Is there a way for you to add this support to the library? Thanks!

magiulianoUNICEF avatar Jan 12 '23 10:01 magiulianoUNICEF

Sorry, I inspected the code, and I actually noted I could use the codepage 1251, which also contains Ukrainian characters. I should have checked before.

magiulianoUNICEF avatar Jan 12 '23 12:01 magiulianoUNICEF

I would be happy to add cp-855 support. Is there a dbf file you can share with me? I need to locate the byte value for that code page in the file header.

ethanfurman avatar Jan 12 '23 18:01 ethanfurman

Dear Ethan,

I closed the ticket myself because inspecting your code I found out that it supports the cp-1251, which also contains Ukrainian characters. I think adding the cp-855 would be redundant, but in case you want to do it I am happy to share an example with you.

Thank you so much for the great work, I owe you a lot of time!

Best regards, Marco

From: Ethan Furman @.> Sent: Thursday, January 12, 2023 8:55 PM To: ethanfurman/dbf @.> Cc: Marco Giuliano @.>; State change @.> Subject: Re: [ethanfurman/dbf] Ascii code page 855 (Issue #34)

I would be happy to add cp-855 support. Is there a dbf file you can share with me? I need to locate the byte value for that code page in the file header.

Reply to this email directly, view it on GitHubhttps://github.com/ethanfurman/dbf/issues/34#issuecomment-1380867464, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4X2NOMJCWZKCRTDRVCUCNDWSBHQ5ANCNFSM6AAAAAATZBXYP4. You are receiving this because you modified the open/close state.Message ID: @.@.>>

magiulianoUNICEF avatar Jan 13 '23 07:01 magiulianoUNICEF

Glad my library helped!

It looked to me like cp-855 had more Ukrainian characters than cp-1251. If I'm wrong, go ahead and close again; otherwise, go ahead and attach a file and I'll see what I can do.

ethanfurman avatar Jan 13 '23 17:01 ethanfurman