OpenBangla-Keyboard icon indicating copy to clipboard operation
OpenBangla-Keyboard copied to clipboard

Feature Request: Add Bijoy 52 ANSI Encoding Support

Open qomarhsn opened this issue 6 months ago • 6 comments

Currently, OpenBangla-Keyboard has ANSI encoding support in the development branch (and it may be included in the next release), but it only supports the Bijoy 2000 format. Since many users also rely on the Bijoy 52 format, it is important to add support for Bijoy 52 ANSI encoding alongside the existing Bijoy 2000 support.

This would allow users to switch between Unicode and the two main ANSI encoding standards as needed.

qomarhsn avatar Oct 02 '25 18:10 qomarhsn

I will need some documents which is written in Bijoy 52 ANSI encoding.

For anyone interested in contributing: poriborton is the library in which Bijoy 2000 encoding is implemented. So the next step will be to add support for Bijoy 52 encoding in there.

mominul avatar Oct 03 '25 08:10 mominul

Here are some documents written in Bijoy 52 ANSI encoding. These were collected from Banglapedia, originally in Unicode, and I converted them to Bijoy 52 ANSI using a bijoy2unicode converter.

bijoy52-doc1.txt bijoy52-doc2.txt bijoy52-doc3.txt

qomarhsn avatar Oct 03 '25 15:10 qomarhsn

@qomarhsn which bijoy2unicode converter did you used?

mominul avatar Oct 03 '25 15:10 mominul

I used this converter. The full conversion logic was directly taken from an Android app called Okkhor 52 (likely unpublished from the Play Store now, but available on APKMirror).

qomarhsn avatar Oct 03 '25 15:10 qomarhsn

I used this converter. The full conversion logic was directly taken from an Android app called Okkhor 52 (likely unpublished from the Play Store now, but available on APKMirror).

Can it be open-sourced? That would reduce my work :3

mominul avatar Oct 03 '25 19:10 mominul

Since the current converter logic is copied, it can’t be open-sourced right now due to copyright concerns. I use it personally, but I’m rewriting the logic in a simpler way — once finished, it could be open-sourced.

In the meantime, you can check this repo: https://github.com/mdsifatgitid. The conversion mappings start from line 7,231 in the index.html file. I’m not sure if it’s fully compatible with Bijoy52, but I checked some cases and it seems to work fine.

qomarhsn avatar Oct 03 '25 20:10 qomarhsn