我使用geoloaction
找到用户的当前位置,它返回的XML数据
<geonames>
<geoname>
<toponymName>Gulbahar</toponymName>
<name>Golīmar</name>
<lat>24.8922</lat>
<lng>67.0287</lng>
<geonameId>1346867</geonameId>
<countryCode>PK</countryCode>
<countryName>Pakistan</countryName>
<fcl>P</fcl>
<fcode>PPLX</fcode>
<distance>0.14608</distance>
</geoname>
</geonames>
现在我想<name>Golīmar</name>
其中有一个特殊字符,这个名字我必须运行查询,除了这样一来获取更多的结果,但的基础上,它会产生某种核对错误
SELECT DISTINCT country
FROM propertydetails
WHERE country NOT IN ( "Golīmar" )
错误:归类(latin1_swedish_ci,隐含的)AND(utf8_general_ci,COERCIBLE)操作的非法搭配
我见过很多栈POS但无法找到一个方法来解决