Skip to content

Using unicode with sprintf or paste in Windows (PR#11515)

2 messages · Brian Ripley

#
This is not a bug -- it is the expected (and documented) behaviour.
On Mon, 26 May 2008, mwtoews at sfu.ca wrote:

            
It depends on the locale ... you cannot expect to be able to manipulate 
Unicode strings in a non-Unicode locale (although you can pass them around 
as data, unchanged).
Well, the posting guide asks you to do your homework before posting.
In this case, the 'R Internals' manual and the source code.
#
Let me add that ?Encoding gives a pretty comprehensive description of how 
encodings are handled, including the circumstances in which they are 
preserved.
On Mon, 26 May 2008, ripley at stats.ox.ac.uk wrote: