cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

Introduce CefString for customization of CEF string type #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The CEF API currently uses std::wstring (wchar_t*) as the string type. This is 
less than ideal because on most non-Windows platforms wchar_t is 4 bytes.

Introduce a new CefString class that provides UTF-8, UTF-16 and wide 
implementations. The user can choose which implementation to use when building 
CEF. All implementations support explicit and implicit conversion to and from 
the other string types.

Original discussion here:
http://magpcss.org/ceforum/viewtopic.php?f=10&t=139

Original issue reported on code.google.com by magreenb...@gmail.com on 22 Nov 2010 at 5:34

GoogleCodeExporter commented 9 years ago
Committed as revision 145.

Original comment by magreenb...@gmail.com on 22 Nov 2010 at 5:51

GoogleCodeExporter commented 9 years ago
And revision 146 and revision 147.

Original comment by magreenb...@gmail.com on 22 Nov 2010 at 6:01