[ 
https://issues.apache.org/jira/browse/ARROW-16399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531255#comment-17531255
 ] 

Will Jones commented on ARROW-16399:
------------------------------------

Good question. IIRC, this will error in C++:

{code:C++}
std::locale("English_United States.1252")
{code}

It looks like it may be possible get support for other locales, based on the 
documentation here:

https://github.com/msys2/msys2-runtime/blob/c0250d576e39d603248d10e7bb2f396c9bc6a56c/newlib/libc/locale/locale.c#L29-L41

> [R][C++] datetime locale support on Windows MINGW / R
> -----------------------------------------------------
>
>                 Key: ARROW-16399
>                 URL: https://issues.apache.org/jira/browse/ARROW-16399
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, R
>    Affects Versions: 7.0.0
>            Reporter: Will Jones
>            Priority: Major
>
> In [https://github.com/apache/arrow/pull/12536] I found that locales other 
> than "C" and "POSIX" didn't seem to be supported in the RTools environment (a 
> MSYS2 fork). I saw some indications this might apply to any MINGW toolchain 
> (https://stackoverflow.com/a/4497266/2048858), but nothing very recent or 
> definitive.
> Is there a way we can enable this support?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to