Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to type text as

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Aparajita}
\begin{document}
\section*{इनपुट साधने ऑनलाइन वापरून पहा}
आपण निवडलेल्‍या भाषेमध्‍ये टाइप करणे सोपे बनवतात
\end{document}

I'm using vi editor version 7.2.411 on CentOS. Can you point me to right documentation to type this text. (I've HTML Entities corresponding to foreign language text)

share|improve this question
    
what terminal or terminal emulator are you using? if you're using emulator, you can use the input method of client OS to input non-ascii characters. – LiuYan 刘研 Jul 5 '13 at 14:57
    
I'm using 'putty' version 0.58 – Pawan Mude Jul 5 '13 at 15:27
    
So you're connecting from a Windows machine via putty to a remote CentOS system? Could you give these details in your question please? – terdon Jul 5 '13 at 16:22
up vote 1 down vote accepted

In Putty set your enconding here:

Settings > Window > Translation > Remote character set > UTF-8

And in vi:

:set encoding=utf-8
share|improve this answer
    
Thank You Ference. It worked. – Pawan Mude Jul 5 '13 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .