* Re: compilation output has many nonprintable characters, what shall I do?
[not found] <mailman.3071.1229636933.26697.help-gnu-emacs@gnu.org>
@ 2008-12-18 22:30 ` Colin S. Miller
2008-12-18 22:37 ` Colin S. Miller
2008-12-19 7:29 ` Eli Zaretskii
0 siblings, 2 replies; 8+ messages in thread
From: Colin S. Miller @ 2008-12-18 22:30 UTC (permalink / raw)
To: help-gnu-emacs
patiobarbecue wrote:
> Dear there,
>
> I use M-x compile, followed by make -k, and the output always contains many
> nonprintable characters like this:
>
> decomp.cpp:460: error: âsetwâ was not declared in this scope
> decomp.cpp:460: error: âsetprecisionâ was not declared in this scope
>
> Any help would be appreciated, thanks!
>
>
Patio,
Try using "LOCALE=C make -k"
without the quotes as your build command.
GCC tries to use smartquotes if locale supports it.
However Emacs tends to get confused with them.
The above command tells GCC that the shell (emacs)
doesn't support smart quotes.
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: compilation output has many nonprintable characters, what shall I do?
2008-12-18 22:30 ` compilation output has many nonprintable characters, what shall I do? Colin S. Miller
@ 2008-12-18 22:37 ` Colin S. Miller
2008-12-19 3:41 ` patiobarbecue
2008-12-19 7:29 ` Eli Zaretskii
1 sibling, 1 reply; 8+ messages in thread
From: Colin S. Miller @ 2008-12-18 22:37 UTC (permalink / raw)
To: help-gnu-emacs
Colin S. Miller wrote:
> Patio,
>
> Try using "LOCALE=C make -k"
Opps, that should be LANG or LANGUAGE, not LOCALE.
>
>
> HTH,
> Colin S. Miller
>
>
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: compilation output has many nonprintable characters, what shall I do?
2008-12-18 22:30 ` compilation output has many nonprintable characters, what shall I do? Colin S. Miller
2008-12-18 22:37 ` Colin S. Miller
@ 2008-12-19 7:29 ` Eli Zaretskii
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2008-12-19 7:29 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 18 Dec 2008 22:30:49 +0000
> From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
>
> GCC tries to use smartquotes if locale supports it.
> However Emacs tends to get confused with them.
Assuming this is Emacs 22, Emacs does not get confused by Unicode
characters like that. More probably, the OP's setup of Emacs is
somehow in contradiction with the shell's locale, because Emacs
generally uses the same environment variables as GCC to decide whether
GCC will use UTF-8 in its output.
> The above command tells GCC that the shell (emacs)
> doesn't support smart quotes.
Emacs certainly does, unless you interfere with its default setup of
locale-related issues.
^ permalink raw reply [flat|nested] 8+ messages in thread
* compilation output has many nonprintable characters, what shall I do?
@ 2008-12-18 21:16 patiobarbecue
2008-12-18 23:00 ` Peter Dyballa
0 siblings, 1 reply; 8+ messages in thread
From: patiobarbecue @ 2008-12-18 21:16 UTC (permalink / raw)
To: Help-gnu-emacs
Dear there,
I use M-x compile, followed by make -k, and the output always contains many
nonprintable characters like this:
decomp.cpp:460: error: âsetwâ was not declared in this scope
decomp.cpp:460: error: âsetprecisionâ was not declared in this scope
Any help would be appreciated, thanks!
--
View this message in context: http://www.nabble.com/compilation-output-has-many-nonprintable-characters%2C-what-shall-I-do--tp21081066p21081066.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: compilation output has many nonprintable characters, what shall I do?
2008-12-18 21:16 patiobarbecue
@ 2008-12-18 23:00 ` Peter Dyballa
2008-12-19 3:44 ` patiobarbecue
0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2008-12-18 23:00 UTC (permalink / raw)
To: patiobarbecue; +Cc: Help-gnu-emacs
Am 18.12.2008 um 22:16 schrieb patiobarbecue:
> decomp.cpp:460: error: âsetwâ was not declared in this scope
> decomp.cpp:460: error: âsetprecisionâ was not declared in
> this scope
Make it display in UTF-8 encoding. Then you would see ‘setw’
instead.
--
Greetings
Pete
Competition is the great erode of profits.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-12-19 7:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3071.1229636933.26697.help-gnu-emacs@gnu.org>
2008-12-18 22:30 ` compilation output has many nonprintable characters, what shall I do? Colin S. Miller
2008-12-18 22:37 ` Colin S. Miller
2008-12-19 3:41 ` patiobarbecue
2008-12-19 7:29 ` Eli Zaretskii
2008-12-18 21:16 patiobarbecue
2008-12-18 23:00 ` Peter Dyballa
2008-12-19 3:44 ` patiobarbecue
2008-12-19 7:47 ` Eli Zaretskii
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.