From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Emacs Turkish Support Date: Thu, 12 Jan 2006 18:03:36 -0500 Organization: Bell Sympatico Message-ID: <871wzdkq2t.fsf-monnier+gnu.emacs.help@gnu.org> References: <1136752198.840060.208250@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137108201 11488 80.91.229.2 (12 Jan 2006 23:23:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2006 23:23:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 00:23:18 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ExBmg-0003LP-Ky for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jan 2006 00:23:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ExBom-0000WW-OL for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jan 2006 18:25:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:6442uLplkdQP9JfJ5ZZYXvvwSG8= Original-Lines: 21 Original-NNTP-Posting-Host: 67.71.26.73 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1137107016 67.71.26.73 (Thu, 12 Jan 2006 18:03:36 EST) Original-NNTP-Posting-Date: Thu, 12 Jan 2006 18:03:36 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:136997 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32613 Archived-At: >> I'm trying to create a Turkish website and I'm using emacs as an editor >> to edit my php/html files. I decided to use utf-8 as the coding >> method, windows XP supports the turkish q keyboard. > How about: > (modify-coding-system-alist 'file "\\.html\\'" 'utf-8) > (modify-coding-system-alist 'process 'UTF-8 'UTF-8) > (setq default-terminal-coding-system 'utf-8) > (set-default-coding-systems 'utf-8) > (prefer-coding-system 'utf-8) In most cases, it is cleaner to just change one's locale, as in export LC_ALL=fr_CH.UTF-8 check `locale -a' to see which locales are available and figure which one you want, Stefan