Quote:
Originally Posted by Colonel Cathcart
Thank you, davidfor. Indeed, you did give me the right answer.
Is the 185 character limit to the path the only restriction? No additional restriction regarding the file name length? (obviously there are other restrictions regarding illegal characters).
And regarding to path, what, exactly, does that include? Take for example:
Code:
C:/Books/Hastie, Trevor & Tibshirani, Robert & Friedman, Jerome/The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Second Edition
Is the "C:/" part counted towards that 185 character limit?
The reason I ask is that I'd like to write something a bit more robust and need a clear understanding what's going on under the hood.
|
The 185 characters limit is the only restriction I can think of. It will include the drive and the extension.
For the characters used, calibre will sanitize the path after it has been generated. That replaces replaces accented characters and similar with their equivalents. And replaces other illegal characters with an underscore. And Kobo has a couple of characters that shouldn't be used that are handled as well.