K 10 svn:author V 8 vangyzen K 8 svn:date V 27 2016-12-01T16:54:02.761549Z K 7 svn:log V 196 locale: fix buffer management Also, handle signed and unsigned chars, and more gracefully handle invalid input. Submitted by: bde in response to r309331 MFC after: 1 week Sponsored by: Dell EMC END