Bug 997338 - Fixed comments and null-check in fromUTF8().
Merge pull request #18655 from kamituel/Bug_997338_3

Bug 997333: Fixed comments. Added null-check in fromUTF8(). r=alive