hgourvest / node-firebird

Pure javascript and asynchronous Firebird client for Node.js.
Mozilla Public License 2.0
258 stars 130 forks source link

Encoding Serialize option to solve latin1 etc #338

Closed mateusvieites closed 2 months ago

mateusvieites commented 4 months ago

Adjusted it for everyone like me who uses different charsets than UTF-8. Now, all you need to do is set the option in options.encoding_serialize, where I also included the other valid ones :) This is a hotfix so i think the best way is to transform in a class I think the best way to avoid having to redo it with each request would be to turn it into a class so that it only needs to be set once image