endlesssoftware / sqlite3

SQLite for OpenVMS
25 stars 12 forks source link

SQLITE_OMIT_UTF16? #29

Open hb-- opened 9 years ago

hb-- commented 9 years ago

I want to enable UTF16 support. Are there any expected or known problems? Or, what was the reason to disable this for VMS?

Also, when I change CONFIG.H to support UTF16, the symbol vector option for the shareable image has to change. It looks like in descrip.mms there is nothing the symbol vector option or its text file depends on. As far as I can see, the symbol vector depends on the global symbols in the OLB, for which, on the other hand, I didn't found a way to build it separately. So I manually did/added something like

mmk $(BINDIR)SQLITE3_SHR.EXE
- delete $(BINDIR)SQLITE3_SHR.EXE;*
- delete $(ETCDIR)SQLITE3_SHR.MAP;*
- delete $(SRCDIR)SYMBOL_VECTOR.TXT;*
mmk $(SRCDIR)SYMBOL_VECTOR.TXT
mmk $(BINDIR)SQLITE3_SHR.EXE

Is this the recommended way to get to a correct symbol vector option?

tesneddon commented 9 years ago

I can't see any reason to not support it. I left it out because at that time I didn't really understand UTF-16 and how well it was supported on OpenVMS. So, rather than spend ages messing around with something I didn't understand, I just disabled it for now. Any help you are able to offer here would be greatly appreciated.