<div dir="ltr"><div><div><div><div>I've read through Tim's email descrption of string-convert and taken a quick look at the code.<br><br></div>There's a lot of good work here that I think has many net benefits. <br><br></div>My concern is that the changes are not enough to ensure that locale issues are fully addressed without using locale (either because of 3rd party code or local coding changes). If they don't ensure this, then it just comes down to whether there are any direct costs to switching to the string-convert approach AND whether it is an improvement to have *two* systems of ensuring locale-independent serialization, one explicit and one implicit.<br><br></div>I am not totally clear on the answers to these two questions.<br><br></div>--p<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 5:16 PM, Robin Gareus <span dir="ltr"><<a href="mailto:robin@gareus.org" target="_blank">robin@gareus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/05/2017 04:55 PM, John Emmas wrote:<br>
<span class="">> On 05/01/2017 14:24, Robin Gareus wrote:<br>
>> Since I don't know the MSVC build-environment and build-dependencies<br>
>> used there a quick-solution would be an #ifndef COMPILER_MSVC<br>
>><br>
</span>> Yeah, I guess that should help - but does this effectively mean that<br>
> translations / internationalization etc won't work any more for an MSVC<br>
> build?<br>
><br>
<br>
Depends on the preference setting.  There is a new mode to only set<br>
LC_MESSAGES and leave the rest of the locale alone (to investigate<br>
issues with plugins, see the other branch in this email thread)<br>
<br>
It needs to be explicitly enabled in Preferences > Global > Translations<br>
The default hasn't changed and Ardour still sets LC_ALL. So there should<br>
be no change WRT to translations compared to prior MSVC builds.<br>
<br>
<br>
Since gettext() chooses the translation based on LC_MESSAGES [1], I'm<br>
curious how this works with MSVC builds if there's no LC_MESSAGES.<br>
<br>
ciao,<br>
robin<br>
<br>
[1]<br>
<a href="https://www.gnu.org/software/libc/manual/html_node/Using-gettextized-software.html" rel="noreferrer" target="_blank">https://www.gnu.org/software/<wbr>libc/manual/html_node/Using-<wbr>gettextized-software.html</a><br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
ardour-dev mailing list<br>
<a href="mailto:ardour-dev@lists.ardour.org">ardour-dev@lists.ardour.org</a><br>
<a href="http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org" rel="noreferrer" target="_blank">http://lists.ardour.org/<wbr>listinfo.cgi/ardour-dev-<wbr>ardour.org</a><br>
</div></div></blockquote></div><br></div>