撇号和引号统一? 统一

I had some bugs with strings coming in from MAC and PC and mobile devices, when compared to the ones on the database.

Smiths' ≠ Smiths`

Then I realized that there were more than just the '," I am used to... ׳‘’' and “”״". Now, when being compared to the DB, I obviously thought of making some unification functions into the DB, and on the devices (PC,MAC, mobiles) to make the devices also realize a single ',".

Is there any obvious approach to the problem that I might be missing out here?