[DRE-commits] [SCM] gem2deb.git branch, master, updated. 0.2.14-8-g334b903

Antonio Terceiro terceiro at debian.org
Tue Jun 5 18:40:39 UTC 2012


The following commit has been merged in the master branch:
commit b1a2e61113c9373c558179e461c0f2baa910cc55
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jun 5 14:25:54 2012 -0300

    Assume that everything is UTF-8 by default

diff --git a/lib/gem2deb.rb b/lib/gem2deb.rb
index 82797df..2e40d58 100644
--- a/lib/gem2deb.rb
+++ b/lib/gem2deb.rb
@@ -13,6 +13,10 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+if defined?(Encoding)
+  Encoding.default_external = 'UTF-8'
+end
+
 module Gem2Deb
 
   class CommandFailed < Exception

-- 
gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list