|author||Eric Wong <firstname.lastname@example.org>||2013-08-29 09:29:40 +0000|
|committer||Eric Wong <email@example.com>||2013-08-29 09:50:36 +0000|
We don't need it since IO#read(bytes, buf) will convert to ASCII-8BIT anyways. Everywhere else, we ensure path names are already binary. We do this mainly at the client layer before using Shellwords to escape the paths. We also must be careful about parsing output from soxi/avprobe which can show us metadata in whatever encoding is in the file. We must still handle data from parsing command output as binary, as the encoding of file metadata tends to vary. This also should buy us Syck compatibility for Ruby 1.9.3 users on Debian systems where Ruby 1.9.3 still uses Syck.
Diffstat (limited to 'dtas-mpris.gemspec')
1 files changed, 0 insertions, 1 deletions
diff --git a/dtas-mpris.gemspec b/dtas-mpris.gemspec
index c6dd808..48d0a28 100644
@@ -1,4 +1,3 @@
-# -*- encoding: binary -*-
# Copyright 2013, Eric Wong <firstname.lastname@example.org> and all contributors.
# License: GPLv2 or later <http://www.gnu.org/licenses/gpl-2.0.txt>
# This is GPLv2+ instead of GPLv3+ because ruby-dbus is LGPLv2.1 (only)