* encoding problem in temp-buffer
@ 2006-05-13 18:18 Uwe Mayer
2006-05-13 18:48 ` Drew Adams
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Uwe Mayer @ 2006-05-13 18:18 UTC (permalink / raw)
Hi,
when executing "M-x compile" (which executes "make") and I have an error in
my sources emacs shows i.e. the following in the compilation temporary
buffer:
...
pingpong.cpp: In function \342\200\230int main(int, char**)\342\200\231:
pingpong.cpp:51: error: expected `;' before \342\200\230}\242\200\231 token
...
I am disturbed by the \xxx\yyy\zzz characters. I figured something is wrong
with my locale settings - I just don't know which screw to tighten.
locales are set to "en_GB.UTF-8" (LANG, LC_*), the source file in utf-8
encoding. Any ideas?
Thanks,
Uwe
--
One picture is worth more than ten thousand words.
-- Chinese proverb
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: encoding problem in temp-buffer
2006-05-13 18:18 encoding problem in temp-buffer Uwe Mayer
@ 2006-05-13 18:48 ` Drew Adams
2006-05-13 19:03 ` Eli Zaretskii
[not found] ` <mailman.1769.1147547021.9609.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 11+ messages in thread
From: Drew Adams @ 2006-05-13 18:48 UTC (permalink / raw)
One picture is worth more than ten thousand words.
-- Chinese proverb
Hmm. The English proverb is "A picture is worth a thousand words". By simple
arithmetic, a Chinese picture is worth more than ten English pictures ;-).
More megapixels perhaps.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-13 18:18 encoding problem in temp-buffer Uwe Mayer
2006-05-13 18:48 ` Drew Adams
@ 2006-05-13 19:03 ` Eli Zaretskii
[not found] ` <mailman.1769.1147547021.9609.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2006-05-13 19:03 UTC (permalink / raw)
> From: Uwe Mayer <merkosh@hadiko.de>
> Date: Sat, 13 May 2006 20:18:25 +0200
>
> when executing "M-x compile" (which executes "make") and I have an error in
> my sources emacs shows i.e. the following in the compilation temporary
> buffer:
> ...
> pingpong.cpp: In function \342\200\230int main(int, char**)\342\200\231:
> pingpong.cpp:51: error: expected `;' before \342\200\230}\242\200\231 token
> ...
>
> I am disturbed by the \xxx\yyy\zzz characters. I figured something is wrong
> with my locale settings - I just don't know which screw to tighten.
>
> locales are set to "en_GB.UTF-8" (LANG, LC_*), the source file in utf-8
> encoding. Any ideas?
Does it help if you type "C-x RET c utf-8 RET" immediately before
invoking "M-x compile"?
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.1769.1147547021.9609.help-gnu-emacs@gnu.org>]
* Re: encoding problem in temp-buffer
[not found] ` <mailman.1769.1147547021.9609.help-gnu-emacs@gnu.org>
@ 2006-05-13 20:32 ` Uwe Mayer
2006-05-14 3:18 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Uwe Mayer @ 2006-05-13 20:32 UTC (permalink / raw)
Saturday 13 May 2006 21:03 pm Eli Zaretskii wrote:
> Does it help if you type "C-x RET c utf-8 RET" immediately before
> invoking "M-x compile"?
yes! That does the trick.
I did some experimens with what I found on google
(http://www.gnu.org/software/emacs/manual/html_node/Specify-Coding.html),
but changing any of the variables did not work. Specifically
set-buffer-process-coding-system (interactive) requires 1. process, 2.
encoding, but only accepts an incoding as first input (?!).
Changing LC_ALL to "C" does the trick, too. :/
Ciao
Uwe
--
He's dead, Jim.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-13 20:32 ` Uwe Mayer
@ 2006-05-14 3:18 ` Eli Zaretskii
2006-05-14 9:07 ` Peter Dyballa
[not found] ` <mailman.1774.1147576712.9609.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2006-05-14 3:18 UTC (permalink / raw)
> From: Uwe Mayer <merkosh@hadiko.de>
> Date: Sat, 13 May 2006 22:32:33 +0200
>
> Saturday 13 May 2006 21:03 pm Eli Zaretskii wrote:
>
> > Does it help if you type "C-x RET c utf-8 RET" immediately before
> > invoking "M-x compile"?
>
> yes! That does the trick.
>
> I did some experimens with what I found on google
> (http://www.gnu.org/software/emacs/manual/html_node/Specify-Coding.html),
> but changing any of the variables did not work. Specifically
> set-buffer-process-coding-system (interactive) requires 1. process, 2.
> encoding, but only accepts an incoding as first input (?!).
What happens if you say "M-x prefer-coding-system RET utf-8 RET" --
does Emacs display output from "M-x compile" correctly then?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-13 20:32 ` Uwe Mayer
2006-05-14 3:18 ` Eli Zaretskii
@ 2006-05-14 9:07 ` Peter Dyballa
2006-05-14 19:46 ` Eli Zaretskii
[not found] ` <mailman.1774.1147576712.9609.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 11+ messages in thread
From: Peter Dyballa @ 2006-05-14 9:07 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 13.05.2006 um 22:32 schrieb Uwe Mayer:
> Changing LC_ALL to "C" does the trick, too. :/
I have only set LC_CTYPE and LANG to be "de_DE.UTF-8" and do not do
'set-language-environment' in .emacs, and most of my buffers are
UTF-8 encoded.
--
Mit friedvollen Grüßen
Pete
Alle reden vom Wetter - die Bahn fährt nicht.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-14 9:07 ` Peter Dyballa
@ 2006-05-14 19:46 ` Eli Zaretskii
2006-05-14 21:42 ` Peter Dyballa
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-05-14 19:46 UTC (permalink / raw)
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Sun, 14 May 2006 11:07:55 +0200
> Cc: help-gnu-emacs@gnu.org
>
>
> Am 13.05.2006 um 22:32 schrieb Uwe Mayer:
>
> > Changing LC_ALL to "C" does the trick, too. :/
>
> I have only set LC_CTYPE and LANG to be "de_DE.UTF-8" and do not do
> 'set-language-environment' in .emacs, and most of my buffers are
> UTF-8 encoded.
Are using the CVS version of Emacs 22? The OP used 21.x, IIRC.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-14 19:46 ` Eli Zaretskii
@ 2006-05-14 21:42 ` Peter Dyballa
2006-05-15 3:36 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Peter Dyballa @ 2006-05-14 21:42 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 14.05.2006 um 21:46 schrieb Eli Zaretskii:
>> I have only set LC_CTYPE and LANG to be "de_DE.UTF-8" and do not do
>> 'set-language-environment' in .emacs, and most of my buffers are
>> UTF-8 encoded.
>
> Are using the CVS version of Emacs 22? The OP used 21.x, IIRC.
This one and 23.0.0, but 21.3.50-20041117 works the same (21.4 is not
yet available from Fink for Mac OS X, only 22 in the modern
department, so I'm not using it).
--
Greetings
Pete
Basic, n.:
A programming language. Related to certain social diseases in
that those who have it will not admit it in polite company.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: encoding problem in temp-buffer
2006-05-14 21:42 ` Peter Dyballa
@ 2006-05-15 3:36 ` Eli Zaretskii
0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2006-05-15 3:36 UTC (permalink / raw)
> Cc: help-gnu-emacs@gnu.org
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Sun, 14 May 2006 23:42:34 +0200
>
>
> Am 14.05.2006 um 21:46 schrieb Eli Zaretskii:
>
> >> I have only set LC_CTYPE and LANG to be "de_DE.UTF-8" and do not do
> >> 'set-language-environment' in .emacs, and most of my buffers are
> >> UTF-8 encoded.
> >
> > Are using the CVS version of Emacs 22? The OP used 21.x, IIRC.
>
> This one and 23.0.0, but 21.3.50-20041117 works the same
These both are from CVS (21.3.50-20041117 is from before it was
decided that the next release will be 22.1). The OP used a released
21.x version, which includes none of the enhancements to text
decoding.
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.1774.1147576712.9609.help-gnu-emacs@gnu.org>]
[parent not found: <mailman.1768.1147546102.9609.help-gnu-emacs@gnu.org>]
* Re: encoding problem in temp-buffer
[not found] <mailman.1768.1147546102.9609.help-gnu-emacs@gnu.org>
@ 2006-05-14 14:08 ` Cor Gest
0 siblings, 0 replies; 11+ messages in thread
From: Cor Gest @ 2006-05-14 14:08 UTC (permalink / raw)
Some entity AKA "Drew Adams" <drew.adams@oracle.com>
wrote this mindboggling stuff:
(selectively-snipped-or-not-p)
> One picture is worth more than ten thousand words.
> -- Chinese proverb
>
> Hmm. The English proverb is "A picture is worth a thousand words". By simple
> arithmetic, a Chinese picture is worth more than ten English pictures ;-).
> More megapixels perhaps.
No, but some chinese characters take atleast 10 english words to express their
true meaning, and some a lifetime of study. ;-)
Cor
--
I do not use Windows (tm) therefore I do not fear mail from strangers
If everything else failed to satisfy you, try reading The Frign' Manual
(defvar My-Computer '((OS . "GNU/Emacs") (IPL . "GNU/Linux")))
http://www.clsnet.nl
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-05-15 3:36 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-13 18:18 encoding problem in temp-buffer Uwe Mayer
2006-05-13 18:48 ` Drew Adams
2006-05-13 19:03 ` Eli Zaretskii
[not found] ` <mailman.1769.1147547021.9609.help-gnu-emacs@gnu.org>
2006-05-13 20:32 ` Uwe Mayer
2006-05-14 3:18 ` Eli Zaretskii
2006-05-14 9:07 ` Peter Dyballa
2006-05-14 19:46 ` Eli Zaretskii
2006-05-14 21:42 ` Peter Dyballa
2006-05-15 3:36 ` Eli Zaretskii
[not found] ` <mailman.1774.1147576712.9609.help-gnu-emacs@gnu.org>
2006-05-14 9:39 ` Uwe Mayer
[not found] <mailman.1768.1147546102.9609.help-gnu-emacs@gnu.org>
2006-05-14 14:08 ` Cor Gest
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.