Timeline for UTF-8 decoding library
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 25, 2012 at 11:07 | comment | added | PermanentGuest | I found this amusing from the article: "Windows C++ programmers are educated that Unicode must be done with ‘widechars’. As a result of this mess, they are now among the most confused ones about what is the right thing to do about text". I'm one of them !! | |
| Jun 25, 2012 at 10:56 | comment | added | smerlin | I dont think you can get the count of unicode code points in a string using Boost.NoWide or can you (only if all of them are in the BMP)? I see that Boost.NoWide is useful for I/O, but it does not offer functionality for unicode string handling otherwise. | |
| Jun 25, 2012 at 10:36 | comment | added | Konrad Rudolph |
@Alexis For that you can (indeed, must) provide custom comparers. That isn’t restricted to std::string though, it’s even true when working with wide characters due to the presence of combining characters etc.
|
|
| Jun 25, 2012 at 10:30 | comment | added | PermanentGuest | Thanks @Konrad Rudolph for providing the links. They were useful... From the initial glance, it looks like the Boost.Nowide library doesn't have a stringstream... but, I need to look in detail. | |
| Jun 25, 2012 at 10:30 | comment | added | Alexis Wilke | std::string makes it really hard to sort strings and test characters in all sorts of ways. Not if you don't need such, that's indeed possible to use UTF-8 strings using std::string. You could also make use of QString (Qt) or CString (MFC...). | |
| Jun 25, 2012 at 10:17 | history | answered | Konrad Rudolph | CC BY-SA 3.0 |