Hi All,
As part of porting CEF to more platforms I'm considering the possibility of moving away from std::wstring and wchar_t strings as CEF's API string type. On reason is that, on Linux, wchar_t is a 32bit value which makes these strings rather expensive on that platform. Moving away from the existing string type leaves us with at least two possibilities.
1. Create a CEF string type similar to Chromium's string16 type. This provides the most flexability for switching between various native string types but adds some implementation complexity.
2. Use UTF-8 strings. This provides a single compact string type for all platforms but will require frequent string type conversions as Chromium uses 16 bit strings internally in most cases. It will also require more care on the client side to use the strings properly.
For more information on the pros and cons of each approach see this thread: http://groups.google.com/group/chromium ... beaecf96bf
What do you think?
Regards,
Marshall