Re: Zero Byte Terminated Strings



Chris Uppal wrote:
Knute Johnson wrote:

[me:]
Using the default system charset for real data, in production code, is
nothing better than lazy and incompetent.

-- chris
You know I don't like being called lazy and incompetent this late in the
evening.

You won't see this until tomorrow, and I suppose you'll like it even less then.
But I'm afraid that I'm going to stick by my comment, and if -- by
implication -- it applies to you, then that's unfortunate because I had meant
nothing personal, but I will also stand by the implications.

-- chris

Computer programs are tools, just like any other tool. They have a cost and a benefit. You can buy a rusty box-end wrench or you can buy a gold plated spanner. They do the same job most of the time. To say that you absolutely have to use the gold plated spanner and that you are lazy and incompetent if you don't is just plain rude.

If the default character set wasn't adequate for his purposes he could easily change it. As it turns out he was happy with the solution provided and it worked just fine.

And now I'm going to take my lazy *** to town.

--

Knute Johnson
email s/nospam/knute/
.