Death to std::wstringstream!
authorAdam Borowski <kilobyte@angband.pl>
Sun, 12 Aug 2012 18:08:25 +0000 (20:08 +0200)
committerAdam Borowski <kilobyte@angband.pl>
Sun, 12 Aug 2012 19:42:32 +0000 (21:42 +0200)
commit42a4e95396d9ad1ddcd4c167eafda2a986ef918b
tree01180c67428d295a2931eb12007c3f2068963854
parent225e6d958a48e143a8a75632cbb8715c5fbdc121
Death to std::wstringstream!

There's no point in accumulating a string of wchar_t and then immediately
converting it to utf8 if we can accumulate it in utf8.  This solves problems
on Windows and Android (neither of whom can run webtiles servers currently)
and reduces the code size somewhat.
crawl-ref/source/tileweb-text.cc
crawl-ref/source/unicode.cc
crawl-ref/source/unicode.h