zdavatz / spreadsheet

The Ruby Spreadsheet by ywesee GmbH
http://spreadsheet.ch
GNU General Public License v3.0
1.13k stars 240 forks source link

Use codepage 1200 when writing UTF-16LE files #213

Closed thambley closed 6 years ago

thambley commented 6 years ago

PR #161 created an issue (#189) where an invalid code page is used when writing the workbook using the default encoding UTF-16LE. This PR will remove the invalid codes from the list used to look up code page identifiers by name so it returns the correct code page for UTF-16LE, MACROMAN, and WINDOWS-1252.