![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2015
Device: SonyTRS
|
Diacritical characters get 'translated'
Hi,
New to this forum. I'm just a simple point-and-click type user and using Calibre is great to keep my collection organised. However, there is one thing that annoys me greatly. Whenever I have a diacritical character in an author name or a book title, calibre 'translates' this into the normal character form on disk in the folder name created for the author, as well as in the file-name created for the epub file. eg. ö becomes plain o; é becomes e; etc. Funny thing is, in the library calibre accepts and maintains those ![]() ![]() Have I got something configured incorrectly?, although I can't imagine what, since I'm basically using a next-next-finish type installation (can you tell I'm using a Windows box? ![]() Or, is it not possible at all to have calibre maintain these characters? Appreciate your insight(s) here. ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2015
Device: SonyTRS
|
Forgot to mention, also when eg. the author name is something like Persson, Leif G.W. (ie. ends in initials followed by a period, calibre turns this into Persson, Leif G.W_ - <booktitle>.epub, ie. changes the final period into an underscore.
Why? Windows handles this perfectly well, as I'm sure other OS's do too, so why? (Sorry for tagging this onto my own thread) |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
See Preferences ==> Saving books to disk
Uncheck the option "Convert non-English characters to English equivalents". As for the underscores, calibre will always replace filepath-unsafe characters with an underscore. One of those unsafe characters is "period at the end of a pathname component". The OS/filesystem may allow a pathname component ending with a period to be created, but Windows can and will do some seriously funky things when you do. ![]() ![]() calibre does what it does for good reasons. And there certainly aren't any bad side effects when replacing that period with an underscore (even on linux and OSX). EDIT: Here's your proof. MSDN has this to say about Naming Files, Paths, and Namespaces Quote:
Last edited by eschwartz; 10-11-2015 at 12:00 PM. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2015
Device: SonyTRS
|
Hello eschwartz,
Thank you for taking the time to 'set me straight'. I will look into the settings you suggested. However your following statement peaked my interest: "The OS/filesystem may allow a pathname component ending with a period to be created, but Windows can and will do some seriously funky things when you do." Could I impose on you to elaborate a little more on this? What funky things eg.? Thanks |
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, the file or folder will exist on disk -- IF it gets created by sneaking around the Win32 API -- but most (standard) ways of interacting with it (read: anything that uses the Win32 API) won't be able to create it, open it, move it, or delete it. (I believe it may show up as a zero-byte file???)
Windows has plenty of legacy issues surrounding filenames inherited from the DOS days. Just take a stroll down these Google Search results: folder ending in a period Bottom line: not wise to take a dive in the uncharted waters of Windows-land. ![]() Last edited by eschwartz; 10-11-2015 at 12:20 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Android] CC can now be translated into other languages | chaley | Calibre Companion | 35 | 03-04-2019 02:50 PM |
Translated from: which metadata for the original language of a translated book? | fxp33 | ePub | 5 | 08-12-2014 02:05 PM |
Kobo Touch - Fonts for Sanskrit and diacritical marks | panmanthe2nd | Kobo Reader | 27 | 03-11-2014 11:41 AM |
¿Convert unicode decomposed characters to unique/normal characters? | JohnQwerty | Calibre | 3 | 04-05-2012 12:08 PM |
translated literature | zeppo | General Discussions | 6 | 12-09-2010 04:55 PM |