linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: Pavel Fedin <sonic_amiga@rambler.ru>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] Full NLS support for HFS (classic) filesystem
Date: Tue, 31 May 2005 15:59:48 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0505311550080.3728@scrub.home> (raw)
In-Reply-To: <429CD545.1070308@rambler.ru>

Hi,

On Tue, 31 May 2005, Pavel Fedin wrote:

> > Because it's a user space problem, if you want to use different codepages
> > for different cd's tell it to mount. The kernel only provides the
> > functionality, giving the same functionality several different names is not
> > an option.
> 
>  How is it possible (except using different mount points)?
>  Besides, using different mount points is problematic with automounters, only
> first fstab entry is taken into account by them. Second point won't be mounted
> automatically by, for example, magicdev.

So fix your tools, really, you are complaining to the wrong guy.

> > If the names were translated correctly, HFS would have found them. You need
> > to give me an example, which should have worked, but failed.
> 
>  I can't produce exact russian string (don't remember), but it was about 50%
> of all russian names.

Without an example I can't reproduce, what you're trying to say here (at 
least the "HFS doesn't find the file, even though it's correctly 
translated" part). 

> > Create the tables in a nls module and you can do whatever you want in the
> > uni2char/char2uni functions.
> 
>  Huh...
>  The problem is: when using 8-bit iocharset and 8-bit codepage char2uni from
> codepage always gives the result but AFTER THIS uni2char to iocharset does NOT
> necessarily gives the result. There are characters in codepage which have no
> equivalents in iocharset. They will be lost, you suggest to turn them into
> '?'. But how to reverse this in order to supply to hfs_strcmp()?

So create two functions uni2char/char2uni, which provide perfect reverse 
mapping. Sorry, but I don't understand what your problem is here.
It seems you're making it more complex than it really is.

bye, Roman

  reply	other threads:[~2005-05-31 13:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <429B1E35.2040905@rambler.ru>
2005-05-30 11:50 ` [PATCH] Full NLS support for HFS (classic) filesystem Roman Zippel
2005-05-31 13:37   ` Pavel Fedin
2005-05-31 10:45     ` Roman Zippel
2005-05-31 19:35       ` Pavel Fedin
2005-05-31 12:13         ` Roman Zippel
2005-05-31 21:21           ` Pavel Fedin
2005-05-31 13:59             ` Roman Zippel [this message]
2005-05-31 14:49               ` Anton Altaparmakov
2005-05-31 15:28                 ` Roman Zippel
2005-06-02 13:34                 ` Pavel Fedin
2005-06-02  9:24                   ` Anton Altaparmakov
2005-06-03 13:34                     ` Pavel Fedin
2005-06-03  8:09                       ` Anton Altaparmakov
2005-06-06 13:15                         ` Pavel Fedin
2005-06-06 12:44                           ` Roman Zippel
2005-06-06 21:44                             ` Pavel Fedin
2005-06-06 14:44                               ` Roman Zippel
2005-06-08 18:08                                 ` Pavel Fedin
2005-06-01  0:26             ` Roman Zippel
     [not found]               ` <429F0869.4010805@rambler.ru>
     [not found]                 ` <Pine.LNX.4.61.0506021130290.3728@scrub.home>
2005-06-03 14:00                   ` Pavel Fedin
2005-06-09 23:47   ` George Anzinger
2005-05-30 14:05 Pavel Fedin

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

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

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0505311550080.3728@scrub.home \
    --to=zippel@linux-m68k.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=sonic_amiga@rambler.ru \
    /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.
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 NNTP newsgroup(s).