File: 0001-default-external-encoding.patch

package info (click to toggle)
ruby-dbf 3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,728 kB
  • ctags: 150
  • sloc: ruby: 1,653; makefile: 8
file content (16 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: set default external encoding to UTF-8
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: https://github.com/infused/dbf/pull/77
Last-Update: 2016-07-08

--- ruby-dbf-3.0.5.orig/spec/spec_helper.rb
+++ ruby-dbf-3.0.5/spec/spec_helper.rb
@@ -4,6 +4,8 @@ begin
 rescue LoadError
 end
 
+Encoding.default_external = "UTF-8"
+
 require 'dbf'
 require 'yaml'
 require 'rspec'