Skip to content

fix: replace adhak_bindi (u0A01) with bindi (u0A02)#1922

Open
BalkiratS wants to merge 2 commits into
shabados:mainfrom
BalkiratS:adhak_bindi_fix
Open

fix: replace adhak_bindi (u0A01) with bindi (u0A02)#1922
BalkiratS wants to merge 2 commits into
shabados:mainfrom
BalkiratS:adhak_bindi_fix

Conversation

@BalkiratS

Copy link
Copy Markdown
Contributor

Summary

This PR normalizes 28 occurrences of the Gurmukhi adhak bindi character (ਁ, U+0A01) to the bindi character (ਂ, U+0A02) across 27 line files in collections/lines/.

The adhak bindi (ਁ) appears in only these 27 primary data fields out of ~141k line files in the database. After cross-referencing each line against two independent printed sources of Sri Guru Granth Sahib, the character appears as a standard bindi (ਂ) in both — suggesting the adhak bindi in the database is most likely an artifact of digitization rather than an intentional editorial distinction.

A full line-by-line audit with screenshots from both sources is attached:
Adhak_bindi_Audit.pdf

@bhajneet

Copy link
Copy Markdown
Member

This is incorrect

image

Please read the Sant Lipi readme for more info.

@bhajneet

Copy link
Copy Markdown
Member

@bhajneet

Copy link
Copy Markdown
Member

So it should be 0A01 -> 0A02 + FE00

Though idk why I chose VS1 here. I can't remember the reasoning.

However this will look like a normally formed sihari + bindi following without Sant Lipi font. And then, where supported, it will show up as a bindi BEFORE the sihari. Same as your PDF shows.

@BalkiratS

Copy link
Copy Markdown
Contributor Author

@bhajneet Added the commit with VS1 variation.

@bhajneet

bhajneet commented Jun 8, 2026

Copy link
Copy Markdown
Member

I'm really confused here. I'll have to pull this myself and compare strings with some utilities. The lines I'm testing are not working in Sant Lipi: https://shabados.github.io/SantLipi/qa/test/db-bindi-before-bihari.html

@bhajneet

bhajneet commented Jun 9, 2026

Copy link
Copy Markdown
Member

Can you share the shell script? I can just apply it and push it up and attribute the changes to you

@BalkiratS

Copy link
Copy Markdown
Contributor Author

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

Successfully merging this pull request may close these issues.

2 participants