On 22/02/15 20:57, Nathaniel Smith wrote: > This is a discussion about how strings are represented as bit-patterns > inside ndarrays; the internal storage representation used by 'str' is > irrelevant.
I thought it would be clever to just use the same internal representation as Python would choose. But obviously it is not. UTF-8 would fail because it is not regularly stored. And every string in an ndarray will need to have the same encoding, but Python might think otherwise. Sturla _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion