Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.