Preeti in Microsoft Word: fix the missing ukar

Word's AutoCorrect turns the straight apostrophe into a curly quote as you type. In Preeti the apostrophe key is the ukar (ु), so the ukar is lost. Turn off smart quotes in File, Options, Proofing, AutoCorrect Options, and the ' key types ु again.

On this page
  1. Why the ukar goes missing
  2. Turn off smart quotes in Word for Windows
  3. Turn off smart quotes in Word for Mac
  4. Other AutoCorrect settings that change Preeti text
  5. Repair text you have already typed
  6. Examples to check your setup
  7. LibreOffice Writer
  8. Avoid the problem: type in Unicode
  9. Questions and answers
With smart quotes on, typing s's'/ in Preeti becomes क’क’र; with smart quotes off it stays कुकुर

Why the ukar goes missing

Preeti puts Nepali letters on the keys of an English keyboard. The apostrophe key (') types the ukar (ु), and Shift with the same key (") types the dirgha ukar (ू).

Word does not know you are typing Nepali. Its AutoCorrect feature sees a straight apostrophe and swaps it for a curly one (’), which is better for English. The Preeti font does not draw the ukar for the curly character, so the letter you wanted is gone.

You can see the difference when the text is converted to Unicode. Typing s's'/ should give कुकुर. If Word has curled the apostrophes, the text is s’s’/, and it converts to क’क’र instead.

Turn off smart quotes in Word for Windows

These steps are for Word in Microsoft 365 and Word 2010 or later.

  1. Open Word and go to File, then Options.
  2. Choose Proofing, then click AutoCorrect Options.
  3. Open the AutoFormat As You Type tab.
  4. Untick “Straight quotes” with “smart quotes”.
  5. Open the AutoFormat tab and untick the same option, so a later AutoFormat does not curl the quotes again.
  6. Click OK twice.

Try it: set the font to Preeti and type s's'/. You should see कुकुर.

Quick fix while typing: if Word curls a quote before you change the setting, press Ctrl+Z straight away. Word undoes only its correction and keeps the apostrophe you typed.

Turn off smart quotes in Word for Mac

  1. In the menu bar, open Word, then Preferences (called Settings in some newer versions).
  2. Click AutoCorrect.
  3. Open the AutoFormat As You Type tab.
  4. Untick “Straight quotes” with “smart quotes”.

Other AutoCorrect settings that change Preeti text

Smart quotes cause the most trouble, but AutoCorrect makes other changes that suit English and break Preeti. In Preeti, upper case and lower case keys type different letters, and punctuation keys type Nepali letters and numbers. All these options are in the same AutoCorrect dialog.

Tab Untick What goes wrong in Preeti
AutoCorrect Capitalize first letter of sentences s types क but S types क्, so the first letter of a sentence changes.
AutoCorrect Correct TWo INitial CApitals Word changes the case of a letter, which changes the letter.
AutoCorrect Capitalize first letter of table cells The same problem inside tables.
AutoCorrect Correct accidental usage of cAPS LOCK key Word flips the case of what you typed.
AutoCorrect Replace text as you type Word swaps some key sequences for symbols, such as (c) for ©.
AutoFormat As You Type Fractions (1/2) with fraction character (½) / types र in Preeti, so 1/2 turns into a single ½ sign.
AutoFormat As You Type Hyphens (--) with dash - types an opening bracket in Preeti, and two of them can become one dash.
AutoFormat As You Type *Bold* and _italic_ with real formatting * types ८ in Preeti. Two of them around a word make it bold and disappear.
AutoFormat As You Type Ordinals (1st) with superscript Letters after a number turn into small raised text.

Word also underlines Preeti text in red, because it reads it as misspelled English. To hide the underlines, go to File, Options, Proofing and untick Check spelling as you type.

Repair text you have already typed

Turn off smart quotes first. Otherwise Word curls the replacement quote as well. Then:

  1. Press Ctrl+H to open Find and Replace.
  2. Click More and make sure Use wildcards is unticked.
  3. Make each replacement below with Replace All.
Find what Replace with Repairs
^0145 ' Left curly single quote, back to ु
^0146 ' Right curly single quote, back to ु
^0147 " Left curly double quote, back to ू
^0148 " Right curly double quote, back to ू

The codes ^0145 to ^0148 stand for the four curly quote marks. The replacement keeps the Preeti font of the text it replaces.

If the document also has English text, Replace All straightens its quotes too. That does not change what the English says. If you want to keep curly quotes in English, select the Preeti part first, or use Replace one match at a time.

Examples to check your setup

With the font set to Preeti and smart quotes off, these keys should show these words.

Type in Preeti You see
s'/f कुरा
u'? गुरु
d'6' मुटु
s's'/ कुकुर
b"w दूध
km"n फूल

In गुरु, the last रु has a key of its own (?), so it is not affected by smart quotes.

LibreOffice Writer

LibreOffice has the same feature. Go to Tools, AutoCorrect, AutoCorrect Options, open the Localized Options tab, and untick Replace under both Single Quotes and Double Quotes.

Avoid the problem: type in Unicode

All of this happens because Preeti reuses English keys. Unicode Nepali stores ु as a real Nepali character, so Word’s AutoCorrect leaves it alone. Unicode vs Preeti explains the difference.

  • Keep your Preeti typing habits: use the Preeti layout in the online keyboard. The keys work as in Preeti, and the result is Unicode text you can paste into Word.
  • Convert an existing Preeti document: repair the quotes as above, then paste the text into Preeti to Unicode.
  • A form still needs Preeti: type or paste in Unicode, convert with Unicode to Preeti, paste the result into Word, and set its font to Preeti. Turn off smart quotes before you edit it.

Questions and answers

Why does the ukar disappear when I type Preeti in Word?

In Preeti, the apostrophe key types ु. Word's smart quotes setting replaces the straight apostrophe with a curly quote mark as you type, and the curly quote is not the ukar. Turn off smart quotes in AutoCorrect Options and type the word again.

How do I type dirgha ukar (ू) in Preeti?

Press Shift and the apostrophe key, which types the double quote character. Smart quotes curl this one too, so the same setting fixes both ु and ू.

Will turning off smart quotes change my English documents?

The setting applies to everything you type in Word, so English text will get straight quotes as well. Existing documents do not change. If you want curly quotes for English, turn the setting back on when you finish your Preeti work.

Does the Preeti to Unicode converter fix curly quotes?

No. A curly quote is a real character in the text, so it is kept as it is. Replace curly quotes with straight ones in Word first, then copy the text into the converter.

Do I need to change these settings to type Unicode Nepali?

No. Unicode Nepali stores ु as a real Nepali character, so AutoCorrect does not touch it. Only legacy fonts such as Preeti and Kantipur, which reuse English keys, are affected.