How to match all internationalized text?

后端 未结 2 422
眼角桃花
眼角桃花 2021-01-22 05:49

I\'m on a search-and-destroy mission for anything Amazon finds distasteful. In the past I\'ve dealt with this by using iconv to convert from \"UTF-8\" to \"latin1\

2条回答
  •  清酒与你
    2021-01-22 06:29

    I looped a bit through iconvlist() and found this (among other combinations):

    test<-"Gwena\xeblle M"
    iconv(test,"CP1163","UTF-8")
     [1] "Gwenaëlle M"
    

    I realize, this is not what you asked for, but it might be possible to find the correct encoding.

提交回复
热议问题