fix: derive basestr from unicode