There's documentation about this here: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Internal_strings#printf_and_a_UTF-16_string
Nick On Tue, Aug 15, 2017 at 3:28 PM, Enrico Weigelt, metux IT consult < [email protected]> wrote: > Hi folks, > > what's the best way to print out ns*String classes via printf ? > Using ToNewUTF8String or converting to nsCString to use it's get(), > doesn't feel like the best approach ... > > > --mtx > > -- > > mit freundlichen Grüßen > -- > Enrico, Sohn von Wilfried, a.d.F. Weigelt, > metux IT consulting > +49-151-27565287 > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

