Bengali Unicode vs Bijoy: why Bangla text breaks and how to fix it
If you have ever copied Bengali from a PDF and got "Avgvi bvg", this explains what happened and what to do.
A common experience for anyone working with Bengali documents goes like this. You copy a paragraph from a notice, a question paper or an old office file, paste it into WhatsApp or Word, and get something like Avgvi †mvbvi evsjv instead of আমার সোনার বাংলা. Or the text pastes fine but the vowel signs land in the wrong place. Both problems come from the same history.
Two ways computers have stored Bengali
Unicode is the modern international standard. Every Bengali letter, vowel sign and symbol has its own code. ক is always the same character whatever font you use. Phones, Google, Facebook and modern Windows and Office all use Unicode. Fonts such as Nirmala UI, Vrinda, Kalpurush, SolaimanLipi and Noto Sans Bengali are Unicode fonts.
Bijoy / ANSI fonts such as SutonnyMJ came earlier. Before Unicode was widely supported, these fonts drew Bengali shapes in place of English letters. The file actually stores "A", "v", "g", and the SutonnyMJ font draws them as Bengali. It looks right on the computer that has the font, but the moment the text leaves that font, for example when you copy it, search it or open it on a phone, the hidden English letters appear.
A huge amount of office, court, school and printing-press material in West Bengal and Bangladesh was produced in Bijoy, and much of it still is, which is why the problem keeps coming up.
How to tell which one you have
- Copy a few words and paste them into a phone message or a Google search. Bengali means Unicode. English gibberish means Bijoy/ANSI.
- In Word, check the font name. SutonnyMJ and other names ending in MJ are ANSI fonts.
- If a PDF shows Bengali but nothing at all can be selected, it is a scanned image. That is a third case, and it needs OCR.
Fixing it
For Bijoy text you can copy: use a Bijoy-to-Unicode converter (Avro Keyboard and several websites include one). Paste the gibberish, and the converter maps it back to proper Unicode Bengali. Check conjunct letters afterwards, because they are where conversions slip.
For PDFs with Bijoy text, or scans: OCR is often the quickest clean route, because it reads the shapes on the page and writes fresh Unicode text. Turn the page into an image with PDF to JPG if needed, then run Bangla OCR. Proofread vowel signs (ি/ী, ু/ূ) and conjuncts.
For Unicode PDFs: nothing needs fixing. PDF to Text extracts the Bengali directly.
Typing new Bengali text
For anything new, type in Unicode. On phones, Gboard and SwiftKey have Bengali layouts, including phonetic input where typing "ami" gives আমি. On Windows, Avro Keyboard's phonetic mode is popular and free, and Windows also has a built-in Bengali keyboard. Unicode text works everywhere, is searchable, and will not break when someone else opens it.
Making a PDF from Bengali text
Some PDF converters still break conjuncts even with Unicode input, because they do not apply Bengali shaping rules. Our Text to PDF tool renders the text with your device's Bengali font, so what you see in the preview is what goes into the PDF.