Not able to use @ in VI editor

Hello All,

Need one Help for one issue.
I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it.

It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if type in notepad and transfer the file to UNIX and try to run it fails and when I open in Vi editor I find that @ is not present.

even the copy past for @ is not working in vi editor.

does anyone have any idea about this.

Try using control-v, then inserting your @ character. You can use the od command on the file to see the actually ascii code for the character.

What do you mean by "transfer the file to UNIX and try to run it it fails"? Is this an executable file you are transferring and trying to run? How does it fail? Post file and also show error message.

Or try: altgr+2 or shift+2
hth