Yes. I hereby disclaim copyright for this code, so feel free to include it under any license without attribution. It's probably too trivial to even be protected by copyright in the first place.

> This should do the trick, right?

I don't know the context, but the purpose of `rawToUTF8` is to be reversible.