This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2625
  Added support for MIK encoding Last modified: 2006-05-02 08:38:04
     Query page      Enter new bug
Bug#: 2625   Hardware:   Reporter: Alexander Shopov <ash@contact.bg>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: GNU C LIbrary Locale Maintainers <libc-locales@sources.redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
MIK.patch MIK codepage support patch 2006-05-01 05:58 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2625 depends on: Show dependency tree
Show dependency graph
Bug 2625 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-05-01 05:54
Added is a patch for MIK encoding.
patch is produced with diff -Naur
patch is against CVS HEAD about 2006-04-27 04:16:31 

Summary of changes:

* iconvdata/testdata/MIK: added testfile
* iconvdata/testdata/MIK..UTF8: added testfile
* iconvdata/Makefile:
       ** modules: added MIK
       ** distribute: added mik.c
       ** gen-8bit-gap-modules: added mik
* iconvdata/TESTS: added MIK
* iconvdata/gconv-modules: added MIK
* iconvdata/mik.c: new file, no holes, uses 8bit-gap.c
* iconvdata/tst-tables.sh: added MIK
* localedata/charmaps/MIK: added the MIK charmap

------- Additional Comment #1 From Alexander Shopov 2006-05-01 05:58 -------
Created an attachment (id=992)
MIK codepage support

* iconvdata/testdata/MIK: added testfile
* iconvdata/testdata/MIK..UTF8: added testfile
* iconvdata/Makefile:
       ** modules: added MIK
       ** distribute: added mik.c
       ** gen-8bit-gap-modules: added mik
* iconvdata/TESTS: added MIK
* iconvdata/gconv-modules: added MIK
* iconvdata/mik.c: new file, no holes, uses 8bit-gap.c
* iconvdata/tst-tables.sh: added MIK
* localedata/charmaps/MIK: added the MIK charmap

------- Additional Comment #2 From Ulrich Drepper 2006-05-01 06:10 -------
Where is this used?  Point me to some references.

------- Additional Comment #3 From Ulrich Drepper 2006-05-01 14:19 -------
I found references myself.  The changes look OK and I applied them.

------- Additional Comment #4 From Alexander Shopov 2006-05-02 08:38 -------
I am adding references here for anyone to be on the clear about MIK.
MIK is a Bulgarian encoding that was used in the 16-bit Bulgarian produced
Pravetz computers.
The computers were Intel x86 (8086) compatible.
The MIK is based on IBM437 codepage, and some of the box drawing characters were
replaced by cyrillic letters.
The codepage gained a lot of popularity in Bulgaria throughout the years -
legacy DOS systems, etc. Now there are a lot of banking, transport, booking,
accounting software packages using it.
So today we have to upgrade those systems to something more modern. Libc support
of MIK will allow for every application to operate on MIK encoded data. This
also includes the appplications based on GNU classpath.

References for the the MIK codepage itself:
1. http://en.wikipedia.org/wiki/MIK_Code_page
2. http://czyborra.com/charsets/cyrillic.html
3. http://debian.fmi.uni-sofia.bg/pipermail/ls-dict/2006-April/002760.html
There are 4 different characters in [1] and [2]. GNU libc support is based on
[1]! The reason is that MIK is based on IBM437. [3] is the translators'
discussion on these problems. (the resource is in Bulgarian).

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In