I wouldn't be so quick to claim that there are never character set or encoding related bugs in Perl or Tcl applications as a direct result of DWIM not always doing the _right_ thing. Perhaps not ...
I was approached yesterday by a friend who asked me if I knew a good way to encode (compress) a string of numbers so that it would be as short as possible, while still perfectly readable by a human.
The approach used by the demo is to encode each categorical value on the fly. An alternative, which is more efficient but slightly more complicated, is to precompute all possible categorical values, ...
Java 8 will be remembered mainly for introducing lambdas, streams, a new date/time model, and the Nashorn JavaScript engine to Java. Some will also remember Java 8 for introducing various small but ...
Anyone have some C# sample code or class to decode/encode base64 data? I'm new to C#, and I thought this sort of thing would be built-in to .NET. Just looking for a black box that will take a b64 ...
Unicode/UTF-8 support appeared in Tcl/Tk 8.1, which came out in April 1999, i.e., nearly 15 years ago. It is worth noting that Unicode in Tcl worked quite well pretty much from the point when it was ...