Submitted by: Stefan Fritsch; Assigned to: Arun ; R-Forge link
Hi,
joins still don't work on identical strings if the Encoding is declared for one but not for the other.
Note that you fixed a similar error (much to my delight =) in chmatch in #4818. This is distinct from #5159 because in this case it is the same encoding only it's not declared explicitly for one string.
Data.table is 1.8.11 rev 1064
The "ä" is latin1 in my case. Probably the same for UTF-8(?)
a<-c("a","ä")
b<-a
Encoding(a)<-"unknown"
A<-data.table(a,c=1:2,key="a")
B<-data.table(b,d=2:1,key="b")
A[B]
a c d
1: a 1 2
2: ä NA 1
Submitted by: Stefan Fritsch; Assigned to: Arun ; R-Forge link
Hi,
joins still don't work on identical strings if the Encoding is declared for one but not for the other.
Note that you fixed a similar error (much to my delight =) in chmatch in #4818. This is distinct from #5159 because in this case it is the same encoding only it's not declared explicitly for one string.
Data.table is 1.8.11 rev 1064
The "ä" is latin1 in my case. Probably the same for UTF-8(?)
a<-c("a","ä")
b<-a
Encoding(a)<-"unknown"
A<-data.table(a,c=1:2,key="a")
B<-data.table(b,d=2:1,key="b")
A[B]
a c d
1: a 1 2
2: ä NA 1