C++: A language for next generation web apps
stevehanov.ca
C++: A language for next generation web apps
1–10 of 99 posts
Re: C++: A language for next generation web apps
#2"Also, as often overlooked by anyone over 30, you have to handle UTF8 to Unicode conversion, but this is easily achieved in a 10 line function."
lol.
Re: C++: A language for next generation web apps
#3"Also, as often overlooked by anyone over 30, you have to handle UTF8 to Unicode conversion, but this is easily achieved in a 10 line function." lol.
I had to read that a few times. What is he talking about?
Re: C++: A language for next generation web apps
#4Excellent satire.
Re: C++: A language for next generation web apps
#5[deleted]
Re: C++: A language for next generation web apps
#6I missed the tag.
Re: C++: A language for next generation web apps
#7Excellent satire.
I thought so too, until I got to the part where he claims it's running rhymebrain! Still can't figure out whether he's joking or not. Naw, on second reading, definitely sarcasm.
Re: C++: A language for next generation web apps
#8I missed the tag.
He forgot to encode the character entities.
Re: C++: A language for next generation web apps
#9if you're on an embedded device, this is actually not a satire
Re: C++: A language for next generation web apps
#10"Also, as often overlooked by anyone over 30, you have to handle UTF8 to Unicode conversion, but this is easily achieved in a 10 line function." lol.
I had to read that a few times. What is he talking about?
1 wchar_t *
2 utf2wide(const char *utf)
3 {
4 size_t len;
5 wchar_t *wide;
6 len = mbstowcs(NULL, utf, 0);
7 wide = malloc(sizeof(*wide) * (len + 1));
8 mbstowcs(wide, utf, len);
9 return wide;
10 }