On 23 September 2015 at 20:21, Páll Haraldsson <[email protected]>
wrote:

> Between API calls. "second class platform" was probably too strong a
> language. I'm not sure if UTF8 is preferred anywhere in Julia (in Base).



I honestly don't know if UTF8 is preferred. I have never heard anyone say
that it is, but UTF8 is a bit of a standard. Wikipedia says that 85% of web
pages are UTF8. So maybe it's a default? I don't really know.



> I just can't see any way around it, if these two encodings are used "at
> the same time" then you must convert between and the platform with the code
> where you do not have to will be slightly faster.


The only time you would need to convert is when you call an API that
requires the other format. At other times there should be no difference.
And conversion between UTF8 and UTF16 should be very fast. Do you have any
evidence that there is a problem? Do you have a program that is running
slow? I really can't imagine this being an issue.

Daniel.

Reply via email to