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 < enrico.weig...@gr13.net> 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 > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform