On 06/08/2013 08:34, Qiang Wang wrote:
Thanks for your Elaborative explanation. If I'm understanding correct. "ߟ"
belongs to those characters that CAN be interpreted by UTF-8. Others are
left as they are, such as, "\xe4" and "\xac". So the following code will
show an error message, but it won't
Thanks for your Elaborative explanation. If I'm understanding correct. "ß"
belongs to those characters that CAN be interpreted by UTF-8. Others are
left as they are, such as, "\xe4" and "\xac". So the following code will
show an error message, but it won't affect the use of x?
x <- "\xe4"
I have
On Mon, 05 Aug 2013, Qiang Wang writes:
>> On Sat, Aug 3, 2013 at 3:49 PM, Enrico Schumann
>> wrote:
>>
>>> On Fri, 02 Aug 2013, Qiang Wang writes:
>>>
>>> > Hi,
>>> >
>>> > I'm struggling with encode/decode strings in R. Don't know why the second
>>> > example below would fail. Thanks in advan
Thanks for your reply!
Sorry I did not clarify that I was using base64encode and base64decode
functions provide from "caTools" package. It seems that if I convert the
string to the raw type first, it still solves my problem.
My original problem actually is that I have a string:
secret <-
'5Kwug+B
On Fri, 02 Aug 2013, Qiang Wang writes:
> Hi,
>
> I'm struggling with encode/decode strings in R. Don't know why the second
> example below would fail. Thanks in advance for your help.
> succeed: s <- "saf" x <- base64encode(s) y <- base64decode(x, "character")
> fail: s <- "safs" x <- base64enco
Hi,
I'm struggling with encode/decode strings in R. Don't know why the second
example below would fail. Thanks in advance for your help.
succeed: s <- "saf" x <- base64encode(s) y <- base64decode(x, "character")
fail: s <- "safs" x <- base64encode(s) y <- base64decode(x, "character")
[[al
6 matches
Mail list logo