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 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


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
+49-151-27565287
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform