Alphabet used in India and Nepal. It is written LTR. This tag seems to have been created when trying to show the letters in for example JavaScript or parse strings written in them
Questions tagged [devanagari]
32 questions
0
votes
0 answers
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 15-16: unexpected end of data
SOURCE_VOCAB_SIZE = 37_000
TARGET_VOCAB_SIZE = 37_000
DATA_FNAME = 'D:/GPU6/spa-eng/sha5.txt'
import tensorflow as tf
from tensorflow.keras.layers import TextVectorization
def load_data(fname):
# open the file with utf-8 encoding
with…

Khushbu
- 21
- 6
0
votes
0 answers
Devanagari Swar Characters
I can see 2 types of characters on this page...
https://en.wikipedia.org/wiki/Devanagari_(Unicode_block)
Group A:
ऀ ँ ं ः ऺ ऻ ़ ा ि ी ु ू ृ ॄ ॅ ॆ े ै ॉ ॊ ो ौ ् ॎ ॏ ॑ ॒ ॕ ॖ ॗ ॢ ॣ
Group B:
ऽ…

shantanuo
- 31,689
- 78
- 245
- 403
0
votes
0 answers
Writing Devanagari/Sanskrit in Markdown (transcript based)
I need to write markdown files in two languages - regular english and sanskrit/devanagari fonts.
Can you kindly help me with pointers to my following questions
Does Markdown support sanskrit/devanagari fonts?
Can you please point me to tutorial/URL…

Jagmonan
- 1
0
votes
1 answer
Reading and Writing Devanagri Hindi characters in text file
Having trouble reading and writing Hindi Devanagari characters in text files using Python.
Reading: Python is unable to read Devanagari characters in my text file when following code is implemented.
Code:
…

AT3140
- 3
- 3
0
votes
0 answers
Output is good in CMD and vscode but not in text/json file [python][Devanagari]
This code executes properly and output in terminal/cmd/VScode is good [Devanagari]. but when I try
to save it like demo.py>test.json this
'charmap' codec can't encode characters in position 150-153: character maps to
error present in that…

Amit kumar
- 151
- 1
- 4
- 20
0
votes
1 answer
(Devanagari Font) How to ensure all parts of the text are visible in a
I'm using a Google font Noto Sans to render English text along with Hindi (Devanagari) in a

Anurag Srivastava
- 14,077
- 4
- 33
- 43
0
votes
1 answer
What if we start using Devanagari Script in password generation?
As of a research by using Devanagari Script in captcha, the security of that captcha is increased from 88% to 96%. So why not to use Devanagari Script in password also?
0
votes
0 answers
Php preg_replace substitute not working as expected using Devanagar Unicode string
I want to replace Devanagari Unicode characters of specific sequence.
$re = '/(कर(?![ािीुूृॄॅेैॉोौ्ऱ्]))/m';
$str = 'समर साकाकरुन भरुन करमरकर';
$subst = '****';
$result = preg_replace($re, $subst, $str);
echo "The result of the substitution is…

Silkograph
- 85
- 2
- 12
0
votes
1 answer
Syntax Error: Non-UTF-8 code starting with \xe0 in file "...." but no encoding declared
# -*- coding: -*-
import re
conversiontable = { 'ॐ' : 'oṁ', 'ऀ' : 'ṁ', 'ँ' : 'ṃ', 'ं' : 'ṃ', 'ः' : 'ḥ', 'अ' : 'a', 'आ' : 'ā', 'इ' : 'i', 'ई' : 'ī', 'उ' : 'u', 'ऊ' : 'ū', 'ऋ' : 'r̥', 'ॠ' : ' r̥̄', 'ऌ' : 'l̥', 'ॡ' : ' l̥̄', 'ऍ' : 'ê', 'ऎ' :…

Ankur Garg
- 1
- 1
- 1
0
votes
2 answers
How to write devanagari script in the dompdf?
I have devanagari script in my html file. But it is displayed as ?????? in the .pdf file. how to solve this problem?
This is the html code

veda desai
- 3
- 3
0
votes
1 answer
how to convert Hindi numbers ( २०७४) to numeric value in c#?
I have a large group of Hindi numbers which i want to convert into numeric values but i don't know how to convert them . Please suggest me appropriate way to achieve this.
Note Please don't suggest me replace method.
eg. convert this number २०७४…

Rizwan Ansari
- 43
- 8
0
votes
0 answers
Tkinter text widget Devanagari font render (Windows 10, Python 3)
I am working on a Devanagari/Indic editor using Tkinter/Python3 and have a question on the Text widget font rendering.
Devanagari (and all Indic language scripts) is an alphasyllabary and groups of consonants ('clusters') and vowel signs form a…

user0
- 97
- 9
0
votes
1 answer
How to manually select elements from a list encoded in utf-8?
I have a list which looks like this:
['क', ',', 'म', '-', 'ह', 'औ', "'", ')', '(', 'स', '.', 'ए', 'प', 'श',
'भ', 'ल', 'य', 'न', 'इ', '}', 'ज', 'र', 'उ', 'ग', 'द', 'त', 't', 'थ',
'ब', 'अ', 'ई', 'o', '%', 'व', 'a', 'आ', '#', '–', 'q', 'i', '।',…

Saurav--
- 1,530
- 2
- 15
- 33
0
votes
1 answer
Itext7 PDFCalligraph module not working as expected for Indic Font
I am using itext7 PDFCalligraph module to render Hindi font in pdf through a java web application. I have acquired a trial license key for this after registering and it is loading also correctly. But complex hindi letters are not rendering as…

Pundarik
- 3
- 5
0
votes
0 answers
How to write Marathi/Hindi text to PDF using itext library in java?
I am using itext library for creating pdfs in java. I need to write Marathi/Hindi text to the PDF.
Please refer following similar SO Question.
itext Marathi (indian) language display issue
I also have the same issue. Since, this is an old post, is…

ajm
- 12,863
- 58
- 163
- 234