(#1733) - fix unicode doc ids in websql

Working in Safari local, broken in Chrome http for the time being.