Skip to content
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

How should I add the new encoding to lib/lang_??.c #34

Open
2i3r opened this issue Sep 17, 2019 · 0 comments
Open

How should I add the new encoding to lib/lang_??.c #34

2i3r opened this issue Sep 17, 2019 · 0 comments

Comments

@2i3r
Copy link

2i3r commented Sep 17, 2019

I'm trying to add some Arabic and Farsi encoding such as CP1256 and ISO 8859-6 to the enca.
I'm in the half way following DEVELOP.md. I've added empty arabic language just how it instructed.
Now I'm adding CP1256, but on the line

  • lib/lang_??.c:
    • Add new encoding to some existing language(s)

How should I add the new encoding to lib/lang_ar.c I've created? I don't see any similar code in other lib/lang_??.c files.
From what I understood from the source code, it seems all encoding names would be added to a language by compiling data folder c codes and running a doit.sh with encoding names from data/new_language folder, which itself runs a sequence of binary and Perl codes to generate new_language.h and probably some ??.base and rawcounts.??s in the folder. is it right?!

How it should be done exactly?! do I need to compile with --enable-maintainer-mode to complete this steps?
Do you think DEVELOP.md needs a patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant