Questions tagged [urdu]

The Urdu tag is for issues relating to displaying user interfaces in the Urdu language.

95 questions
2
votes
0 answers

How to store whole book text (written in Arabic/Urdu language) in MongoDB , such a way that I can search text from it later?

I want to store text of a book (written in Arabic/Urdu language) in MongoDB in the best possible way so that I can search any word from it, because I have to make a Mobile App where user will enter a search string and I will show him the best match…
Tayyab Mehar
  • 321
  • 3
  • 7
2
votes
1 answer

How can i clean urdu data corpus Python without nltk

I have a corpus of more that 10000 words in urdu. Now what i want is to clean my data. There appear a special uni coded data in my text like "!؟ـ،" whenever i use regular expressions it gives me error that your data is not in encoded form. Kindly…
smartF
  • 29
  • 7
2
votes
2 answers

Printing urdu (non-latin language) word by word using python

I am trying to print Urdu words using python. I read about Unicode but the [problem I face is that python tries to print the Urdu just like English, that is, from left to right and character by character. In Urdu characters] cannot be printed like…
2
votes
2 answers

Urdu words in PHP not printing expected

Not printing the expected result;
Sugumar Venkatesan
  • 4,019
  • 8
  • 46
  • 77
2
votes
1 answer

Quotes (inverted commas) creating issue in urdu language

I have a website like (www.bbcurdu.com). Now my problem is, when I adding a new story which having inverted commas or Quotes is not saving in database. If I remove these commas or Quotes then it will save in database. And also fetch and show the…
Hamza Khan
  • 191
  • 15
2
votes
3 answers

How to convert UTF-8 URDU text to image on the fly in Php?

اردو کے فونٹ کے مسائل میرے ویب پیچ کے فونٹ ، براوزر کی وجہ سے بدل جاتے ہیں، میں اپنے صفحے کو امیج بنا کر براوزر کو دینا چایتا ہوں۔ I have tried a number of tutorials / examples and searches. I could not find solution. A Tip: ( Hope it will…
wasif
  • 31
  • 6
2
votes
2 answers

Urdu message sent from sql to mobile handset, is in unreadable format

I am assigning Urdu text to a variable in c# and inserting it into database (SendMessages table), it saves Urdu message perfectly without any modification, great but when that message is received in any mobile handset then it appears as…
John Nash
  • 155
  • 1
  • 4
  • 12
1
vote
1 answer

PDF to Text for Urdu and Arabic using Ghostscript

I have a few PDF files which are in the Urdu language, and some of the PDF files are in the Arabic language. I want to convert the PDF files to text format. I have issued the following Ghostscript code from the command line in my Windows 10…
Shahid
  • 65
  • 6
1
vote
0 answers

Urdu / Persian / Arabic characters not rendered correctly with iText7

As per instructions here, I've tried but could not find a similar question / issue. On Ubuntu, using: iText Core 7.2.1 pdfCalligraph 3.0.0 This code: Document doc = new Document(new PdfDocument(new PdfWriter(new ByteArrayOutputStream()))); PdfFont…
Irfan Latif
  • 498
  • 2
  • 9
  • 24
1
vote
1 answer

How do I configure my index.js file to support Urdu, English, Dutch and other languages of my react native application

I am new to react native. I have an application that I want to convert in different languages worldwide. I've read some posts about using localization but can't quite understand how to configure or what to write inside my index.js file.
1
vote
1 answer

Some Urdu characters not rendering correctly on UITextView

I faced an issue with rendering Urdu on UITextView. I have used NSAttributedString to render text, but some characters are not appearing well using Jameel-Noori-Nastaleeq styled Regular and AlviLahoriNastaleeqfont. You can see in first picture how a…
Asad Mehmood
  • 341
  • 2
  • 12
1
vote
0 answers

Dompdf URDU font issue

please any one help, how i print URDU/pakistani fonts on DOMPDF? i used CSS @font-face rules , but not working, show these characters "?????? ????" Set character encoding to utf 8 but not working, i used following method Hindi Font with DOMPDF in…
1
vote
2 answers

urdu strings looking same but in comparison found unequal python3

In my application, I've list of (Urdu) words in text file, (currently single word like this) and I've another text file having string of urdu (currently single word like this and exactly same) Now I need to find if string file's string has any…
Naila Akbar
  • 3,033
  • 4
  • 34
  • 76
1
vote
1 answer

text is being changed when i do copy it from searchable pdf file (created with tesseract command) and paste it in notepad

I have created a searchable pdf file by running following command on one of my images. tesseract page.jpg test pdf --oem 1 --psm 5 -l urd this the image which I have converted to searchable pdf. the image contains Urdu text, but when I am copying…
1
vote
1 answer

Working with Urdu and Arabic names in Python

I'm trying to work with Urdu text but am unable to get the right output. name = '\xd9\x87\xd9\x84\xd9\x84\xd8\xa7 \xd8\xa7\xd9\x85\xd8\xa7\xd9\x86' print name OUTPUT هللا امان DESIRED OUTPUT امان اللہ please advise.
Hisham Sajid
  • 191
  • 2
  • 10