unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Encoding (latin-5) on Emacs 22
@ 2008-01-02 20:18 Burak Bayramli
  2008-01-03  0:16 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Burak Bayramli @ 2008-01-02 20:18 UTC (permalink / raw)
  To: help-gnu-emacs

I am using post-fix mode to type up turkish text with utf-8 encoding - I can
enter it characters fine and view it from outside programs (such as notepad),
however Emacs won't show the characters as they are. My settings are:

(set-language-environment "Turkish")
(modify-coding-system-alist 'file "\\.txt\\'" 'utf-8)

Any ideas? 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encoding (latin-5) on Emacs 22
  2008-01-02 20:18 Encoding (latin-5) on Emacs 22 Burak Bayramli
@ 2008-01-03  0:16 ` Peter Dyballa
  2008-01-03 14:26   ` Burak Bayramli
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2008-01-03  0:16 UTC (permalink / raw)
  To: Burak Bayramli; +Cc: help-gnu-emacs


Am 02.01.2008 um 21:18 schrieb Burak Bayramli:

> Emacs won't show the characters as they are

What do you mean with this? Seeing only boxes? Then you've chosen the  
wrong font or wrong fontset which simply does not contain these  
accented characters so it can't display them.

A good start is to have shell environment variables LC_CTYPE and LANG  
defined to something like de_DE.UTF-8, that your system supports,  
maybe: tr_TR.UTF-8. This would help GNU Emacs a lot to set up things  
internally. It won't solve the font problem. This one might be solved  
by the Lucida fonts form a Java SDK ...

Do you see Turkish texts better when you launch GNU Emacs with -Q?

--
Greetings

   Pete

The light at the end of the tunnel has been turned off due to budget  
cuts.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encoding (latin-5) on Emacs 22
  2008-01-03  0:16 ` Peter Dyballa
@ 2008-01-03 14:26   ` Burak Bayramli
  0 siblings, 0 replies; 3+ messages in thread
From: Burak Bayramli @ 2008-01-03 14:26 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Burak Bayramli, help-gnu-emacs

Hi Peter, yes I was seeing only boxes but I was able to fix the problem. 
I changed this

(set-language-environment "Turkish")

to this

(set-language-environment "UTF-8")

and the characters started displaying fine. Thanks for your response.

Peter Dyballa wrote:
>
> Am 02.01.2008 um 21:18 schrieb Burak Bayramli:
>
>> Emacs won't show the characters as they are
>
> What do you mean with this? Seeing only boxes? Then you've chosen the 
> wrong font or wrong fontset which simply does not contain these 
> accented characters so it can't display them.
>
> A good start is to have shell environment variables LC_CTYPE and LANG 
> defined to something like de_DE.UTF-8, that your system supports, 
> maybe: tr_TR.UTF-8. This would help GNU Emacs a lot to set up things 
> internally. It won't solve the font problem. This one might be solved 
> by the Lucida fonts form a Java SDK ...
>
> Do you see Turkish texts better when you launch GNU Emacs with -Q?
>
> -- 
> Greetings
>
>   Pete
>
> The light at the end of the tunnel has been turned off due to budget 
> cuts.
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-03 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 20:18 Encoding (latin-5) on Emacs 22 Burak Bayramli
2008-01-03  0:16 ` Peter Dyballa
2008-01-03 14:26   ` Burak Bayramli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).