unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mattis <brakjoller@gmail.com>
Cc: emacs-devel@gnu.org, Kenichi Handa <handa@m17n.org>,
	Jason Rumney <jasonr@gnu.org>
Subject: Re: Re: [brakjoller@gmail.com: setting utf-16 as file-name-coding-system locks up emacs]
Date: Thu, 12 Aug 2004 10:22:03 +0200	[thread overview]
Message-ID: <c99f54dd0408120122401e9526@mail.gmail.com> (raw)
In-Reply-To: <87n011g28q.fsf-monnier+emacs@gnu.org>

> The problem is that (file-exists-p "/") needs to turn the stream 
> of *characters* "/" into a stream of *bytes* (which is what 
> the encoding is for) and if you specify the wrong encoding 
> you might get the wrong bytes, so the OS will of course
> not find the corresponding file.

Ah, yes, I understand now.

> > Anyway, the conclusion of all this seems to be that Emacs is not 100 %
> > ready for unicode yet so I have to avoid to try torture it with these in
> > the meantime... :)
> 
> While the unicode support is not finished (and probably never will be given
> the amount of detail you can get into if you care to), it has nothing to do
> with the problem at hand.  The only valid conclusion here is that your file
> names are not encoded in utf-16 and thus you get what you deserve if you
> wrongly tell Emacs to use utf-16 encoding for filenames.

OK. So, the best would be to have the encoding set to "undecided" and then let
Emacs figure out which encoding is used, right? And hopefully it will be able to
do this correctly in later versions. (I'm talking about the unicode
file names on Windows-problem now, not the "freeze")

Thanks for all the help.

/Mathias

  reply	other threads:[~2004-08-12  8:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1BtYdG-0004bH-IO@fencepost.gnu.org>
     [not found] ` <200408091228.VAA10104@etlken.m17n.org>
     [not found]   ` <c99f54dd0408091315edacc8d@mail.gmail.com>
     [not found]     ` <200408100133.KAA11854@etlken.m17n.org>
     [not found]       ` <c99f54dd0408100341410de4d5@mail.gmail.com>
     [not found]         ` <200408101058.TAA12976@etlken.m17n.org>
     [not found]           ` <c99f54dd040810043627699b54@mail.gmail.com>
     [not found]             ` <200408101144.UAA13100@etlken.m17n.org>
2004-08-10 12:01               ` [brakjoller@gmail.com: setting utf-16 as file-name-coding-system locks up emacs] Jason Rumney
2004-08-10 16:49                 ` Mattis
2004-08-10 17:15                   ` Stefan Monnier
2004-08-11 10:59                     ` Mattis
2004-08-11 14:57                       ` Stefan Monnier
2004-08-12  8:22                         ` Mattis [this message]
2004-08-12 11:00                           ` Jason Rumney
2004-08-12 11:36                           ` Kenichi Handa
2004-08-12 12:31                             ` Jason Rumney
2004-08-13  1:46                               ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c99f54dd0408120122401e9526@mail.gmail.com \
    --to=brakjoller@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).