x<-"ş__s"gsub("ş","ș",x,fixed=TRUE)
Standard input is empty
[1] "ș__s"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!