Archive for May, 2005

Microsoft’s Hotmail Sucks!

Monday, May 16th, 2005

Hehe. Now that I’ve gotten your attention, what’s the story with Hotmail’s support for UTF-8?? Try sending a HTML mail in the UTF-8 encoding, accented characters will come out like gobbledegook.

This is 2005, not 1997, UTF-8 is seriously becoming (sorry, has become) the lingua franca of the Internet, and I really did not expect Hotmail not to have full support for it.

So I have a bug in work, “Incorrect handling of accented characters when viewed with Hotmail”, and I’m thinking “what now?”. I have a UTF-8 mail, do I just always transcode to ISO-8859-1 (sorry, Windows-1252)? What does that do to Chinese people, or 日本人? Nothing good, is the answer.

P.S. If this actually gets read by people at Microsoft, I am seriously impressed! Maybe we should call it “sidetalking”. Oh wait, that one was taken already ;-)

Using cvs+ssh with an alternative ssh key…

Friday, May 13th, 2005

Is this really the best way to use an alternative ssh key for checking out from CVS?

#include
#include

int main(int argc, char **argv)
{
char **args;
int i;

args = (char **) malloc((argc + 3) * sizeof(char *));

if (args == NULL)
{
fprintf(stderr, “Out of memory\n”);
exit(1);
}

args[0] = argv[0];
args[1] = “-i”;
args[2] = “/opt/gary/ssh/identity”;

for (i = 1; i