Am new to c++ and webkit. was wondering why utf8().data() can't be assigned to another pointer?
String trial("trial");
single = trial.utf8().data();
std:: cout << "trial is " << trial.utf8().data() << std::endl;
std:: cout << "single is " << single << std::endl;
The second print is printing junk.
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
