I rather like the fs.readFileSync API in node. It gives you a buffer, unless you specify a text encoding.
This gently encourages users to think about their encoding, without having a heavyweight unicode datatype.
One advantage I've come to appreciate about Dash/Zeal docsets: it's really nice having focused search.
The text search is constrained to the languages I care about enough to download the docset, substantially increasing the relevance. In Google I'd need to specify the language.