You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "wjones127 (via GitHub)" <gi...@apache.org> on 2023/03/03 18:42:48 UTC
[GitHub] [arrow] wjones127 opened a new issue, #34438: [C++] Printing unicode characters can be confusing
wjones127 opened a new issue, #34438:
URL: https://github.com/apache/arrow/issues/34438
### Describe the enhancement requested
The way that C++ prints out some characters can be confusing:
```
import pyarrow as pa
arr = pa.array([" ", "\u0080", "\u0081", "\u0082"])
print(arr)
```
```
[
" ",
"",
"",
""
]
```
Though this displays the ? symbol in the browser, in terminals it looks indistinguishable from:
```
[
" ",
" ",
" ",
" "
]
```
Versus Python:
```
print(arr.to_pylist())
```
```
[' ', '\x80', '\x81', '\x82']
```
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org