Hi, [picking up an old mail from November, this reply refers to the last paragraph]
Because (open)SuSE distros default to UTF-8 since a many years, I think that it will make sense for the ntfs-3g package of the upcoming openSUSE 11.0 alpha releases to use UTF-8 as default charset for filenames, (currently, in case no locale is set, everything with international characters is hidden/rejected). I do not yet know how a patch for this would look like, but I want to ask if a patch which makes it an option for configure would be welcome. Thanks, Bernhard On Mon, 26 Nov 2007, Szabolcs Szakacsits wrote: > > Hi Andrzej, > > Thanks for sharing your findings. > > On Sun, 25 Nov 2007, Andrzej Szelachowski wrote: > > > I'm using slackware 12.0, with selfcompiled 2.6.22.6 Linux kernel, > > fuse-2.7.0 > > and ntfs-3g-1.1120. > > > > I have strange problems with Polish national characters similar to the one > > described at > > http://www.ntfs-3g.org/support.html#locale > > > > So I tried to by-pass it as suggested with "locale" option. > > You can't really by-pass the problem using "locale". The "locale" option is > a horrible potential workaround when your locale environment is not > correctly installed and configured. > > Why the "locale" option is horrible? Because it makes users think that it > will solve their problems. Definitely not!!! Things must work perfectly > without the "locale" option. If not then you already have a major problem > with your distribution. > > During mount the ntfs-3g driver reads your locale environment and converts > the file names to this character set. If > > - locale doesnt' specify anything > - locale specifies the wrong setting > - the correct conversion tables are not installed > - the correct conversion tables are not accessible > - terminal can not display the characters > - softwares can not handle the characters > > then one can not see the files correctly or at all. > > The ntfs-3g driver absolutely can not do anything about this. The problem > is irrelevant to the ntfs-3g driver. The driver simply just tries to > convert the otherwise unrepresentable NTFS file names to something the > distribution specifies. If the distribution specific locale setup or > configuration is wrong then it must be fixed there, not in the ntfs-3g > driver. > > Your experimentation shows that the locale handling on Slackware is pretty > broken. > > In the future at some point the driver will default to UTF8 conversion. > Hopefully that will cause less confusion for people since more and more > distro supports this increasingly better. > > Thanks, > Szaka ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
