LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2015, 11:57 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,553

Rep: Reputation: 235Reputation: 235Reputation: 235
vim error "leere fenc um sie zu erzwingen" (german chars)


Hello,

I am trying to send an email from mutt, with a message having german chars.

I got a problem since I cannot send a proper formating of chars.

I tried this:
http://vim.wikia.com/wiki/OEM_to_ANSI_conversion
to convert to cp437
but it did not work.
I get: vim error "leere fenc um sie zu erzwingen" (german chars)


I would like to ask you how to do so.

I use vim to compose (vim set as editor into .muttrc)

Looking forward to hearing you
 
Old 02-12-2015, 01:40 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I would just 'chicken out' and use the alternate spellings 'ae', 'oe' and 'ue'.
 
Old 02-18-2015, 09:33 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
I just tested that with sending a mail that only contains German umlauts to one of my accounts, using Mutt with GVim for editing, no problems occurred.
It may help to post your Mutt and Vim configuration (please edit out all confidential information before doing so).
 
Old 02-18-2015, 09:34 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
Moved: This thread is more suitable in <Linux - Software> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-01-2015, 10:35 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,553

Original Poster
Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by TobiSGD View Post
I just tested that with sending a mail that only contains German umlauts to one of my accounts, using Mutt with GVim for editing, no problems occurred.
It may help to post your Mutt and Vim configuration (please edit out all confidential information before doing so).

it depends how you format the txt file....

It is testable with :
Code:
cat file.txt | mutt -s test -- username@gmail.com
For german, I must tell vim to do:

Code:
function! Latin()
 :set spelllang=de
 :set spell
 :setlocal fenc=latin1
endfunc
map gl :call Latin()<CR>
than save it with ":wq"

Once it is done, then, the umlaut problems are solved when I send it with mutt.


Could you explain me why?


thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora shows 'man vim' but when execute 'vim' got "bash: vim: command not found..." ? flash_os Linux - Newbie 19 01-03-2015 11:56 PM
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
[SOLVED] Replacing all chars "ё" at screen to "" Nordman Linux - Desktop 17 12-21-2010 04:56 PM
Ximian crashes when I enter "special chars" into message borbjo Linux - Software 0 01-28-2003 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration