Re: ns*String vs. printf()

2017-08-14 Thread Nicholas Nethercote
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

ns*String vs. printf()

2017-08-14 Thread Enrico Weigelt, metux IT consult
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