beets/docs
Adrian Sampson 44459f88d0 Windows: represent paths as UTF-8 internally
When we store paths in the database, we always use bytestrings for consistency.
But on Windows, these paths are converted back to Unicode before they reach the
FS API. This means that the codec used internally is immaterial.

However, we were naively using sys.getfilesystemencoding() for this internal
representation. On Windows, this is MBCS, a broken encoding that can't represent
all of Unicode. This change replaces that with UTF-8, a "real" codec.

The decoding bit now tries UTF-8 and falls back to MBCS for compatibility with
existing databases. The reality, however, is that existing databases may not
work with this change -- a byte string may represent something different in
UTF-8 from what it represents in MBCS. So users should recreated their DBs if
anything goes wrong.
2012-07-17 10:54:47 -07:00
..
guides Windows context menu item via .reg file 2012-07-16 09:39:07 -07:00
plugins Fix the reference to the ".beetsconfig" doc in plugins/web 2012-07-12 11:19:49 +02:00
reference move album art fetching to a plugin (fetchart) 2012-06-24 00:34:50 -07:00
changelog.rst Windows: represent paths as UTF-8 internally 2012-07-17 10:54:47 -07:00
conf.py version bump: 1.0b15 2012-05-13 20:04:14 -07:00
index.rst translate changelog 2011-09-17 16:41:35 -07:00
Makefile Sphinx documentation skeleton 2011-09-16 13:57:15 -07:00