[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: google-translate
From: |
Ian Zimmerman |
Subject: |
Re: google-translate |
Date: |
Fri, 18 Sep 2015 21:17:51 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 2015-09-19 02:09 +0200, Emanuel Berg wrote:
> (loop for trans-pair in '(("\345" "å")
> ("\344" "ä")
> ("\366" "ö") ) do
That looks like an encoding mismatch, not like a bug. I bet these byte
values are the latin-1 codes for these letters.
> (defun translate (src-lang dst-lang text)
> (interactive)
> (let ((killed kill-ring))
> (google-translate-translate src-lang dst-lang text 'kill-ring)
> (let ((translation (string-make-unibyte (current-kill 0))))
^^^^^^^^^^^^^^^^^^^
Why do you do that? That may be your problem right there.
--
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
- Re: Is it possible to transform text before feeding it to ispell?, (continued)
- Re: Is it possible to transform text before feeding it to ispell?, Alexis, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?, Tassilo Horn, 2015/09/08
- google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/08
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Andrey Tykhonov, 2015/09/09
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/09
- Re: google-translate, Emanuel Berg, 2015/09/15
- Re: google-translate, Alex Kost, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/17
- Re: google-translate, Emanuel Berg, 2015/09/18
- Re: google-translate,
Ian Zimmerman <=
- Re: google-translate, Emanuel Berg, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
Re: Is it possible to transform text before feeding it to ispell?, Michael Heerdegen, 2015/09/08
Re: Is it possible to transform text before feeding it to ispell?, Eli Zaretskii, 2015/09/08