windows_csv 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/windows_csv.rb +2 -1
- data/windows_csv.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/windows_csv.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
#This class was heavily inspired by the great Dipth! https://github.com/dipth
|
1
2
|
class WindowsCsv
|
2
3
|
ENCODING = Encoding::UTF_8
|
3
4
|
|
@@ -57,7 +58,7 @@ class WindowsCsv
|
|
57
58
|
end
|
58
59
|
end
|
59
60
|
|
60
|
-
@args[:io].puts CSV.generate_line(encoded, :col_sep => COL_SEP, :quote_char => QUOTE_CHAR
|
61
|
+
@args[:io].puts CSV.generate_line(encoded, :col_sep => COL_SEP, :quote_char => QUOTE_CHAR).encode(Encoding::UTF_16LE)
|
61
62
|
|
62
63
|
return nil
|
63
64
|
end
|
data/windows_csv.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: windows_csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- kaspernj
|
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: 2666403027336268794
|
129
129
|
version: '0'
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
131
|
none: false
|