On Thu, 5 Sep 2024 12:28:53 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> src/hotspot/os/windows/os_windows.cpp line 5327:
>> 
>>> 5325: 
>>> 5326:   char* result = nullptr;
>>> 5327:   ALLOW_C_FUNCTION(::_fullpath, result = ::_fullpath(outbuf, 
>>> filename, outbuflen);)
>> 
>> Would this work for non-Latin-1 utf-8?
>
> According to the docs:
>> _fullpath automatically handles multibyte-character string arguments as 
>> appropriate, recognizing multibyte-character sequences according to the 
>> multibyte code page currently in use.

Thanks,, David :-)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20683#discussion_r1746914038

Reply via email to