Skip to content

Unicode support in ODBC API - #1018

Open
MEO265 wants to merge 5 commits into
r-dbi:mainfrom
MEO265:feature/utf_data
Open

Unicode support in ODBC API#1018
MEO265 wants to merge 5 commits into
r-dbi:mainfrom
MEO265:feature/utf_data

Conversation

@MEO265

@MEO265 MEO265 commented Jul 7, 2026

Copy link
Copy Markdown

Compile nanodbc with the flag NANODBC_USE_UNICODE for better Unicode handling.
If desired, I can also explain specific decisions, but I think the code comments should explain quite a bit for now.
I was able to test it quite extensively with MS SQL on Windows and Ubuntu, but it would be good if more system combinations were tested. In particular, I’m not entirely sure whether macOS has any special quirks.

Resolves #945 and #944. And probably resolves #301, #479, #966 , #427, #410, #301 and #273

Thanks in advance for taking a look. I know that, given the number of changes, reviewing it will take quite a bit of effort.

The instability observed in an earlier version was caused by the ASCII driver being used for PostgreSQL.


For auto closing:

@MEO265
MEO265 force-pushed the feature/utf_data branch from 846fed1 to 94e5d42 Compare July 7, 2026 14:38
@MEO265
MEO265 marked this pull request as ready for review July 7, 2026 14:53
@MEO265
MEO265 force-pushed the feature/utf_data branch from 94e5d42 to 690772e Compare July 11, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment