SAP / node-hdb

SAP HANA Database Client for Node
Apache License 2.0
317 stars 98 forks source link

Fix offset calculation for NCLOB data containing non-BMP characters #202

Closed IanMcCurdy closed 2 years ago

IanMcCurdy commented 2 years ago

The driver was counting CESU-8 surrogate pairs as a single character when calculating offset values for READLOB requests. However, the server expects these to count as two characters.