You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug in ascii_to_16be function, ascii.unpack("C_").pack("n_") won't work.
Change the code to ascii = ascii.unpack("C_").pack("n_") should be ok.
This is a bug in ascii_to_16be function, ascii.unpack("C_").pack("n_") won't work.
Change the code to ascii = ascii.unpack("C_").pack("n_") should be ok.
https://github.com/cxn03651/writeexcel/blob/master/lib/writeexcel/helper.rb
def ascii_to_16be(ascii)
ascii.unpack("C_").pack("n_")
ruby_19 { ascii.force_encoding('UTF-16BE') }
ascii
end
The text was updated successfully, but these errors were encountered: