Dear all,

Is there a quick and easy way of converting utf characters to the \uxxxx
form (necessary e.g. for packages)? I mean something working like this:

> utf2uxxxx("хдць")
[1] "\u00f5\u00e4\u00f6\u00fc"

It is easy to program but perhaps someone already has implemented this. (I
couldn't find anything useful from searches incl RSiteSearch).


Thanks in advance,
Kenn

-- P.S.  Apologies if this is double posted - there was a network error and
the first message doesn't seem to have been sent out (but maybe it was).


Kenn Konstabel
Department of Chronic Diseases
National Institute for Health Development
Hiiu 42
Tallinn, Estonia

	[[alternative HTML version deleted]]

