- just another day on the registry; code crashing because a field on the packument has random unicode null characters in it
- @lianghai.dev figured all of this out immediately (tysm), the original document was encoded with UTF-16LE (Little Endian), and if we look at the original file we can check its encoding
- Then if we open this using hexyl, we can see the pattern which is consistent with the example Wikipedia has for UTF-16LE hex en.wikipedia.org/wiki/UTF-16#...
- after some sleep I guess I will get to finally learn about string encoding in js! xDFeb 4, 2026 03:42