Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Matching alphabetic diacritics with Perl and Postgresql

by marinersk (Priest)
on Jun 04, 2017 at 10:10 UTC ( [id://1192113]=note: print w/replies, xml ) Need Help??


in reply to Matching alphabetic diacritics with Perl and Postgresql

What is the column definition in Postgres?

It's a long shot, but I ask because:

  1. But the first time it goes wrong is when the business name is: "1-6 CH +APMANΓÇÖS END MANAGEMENT COMPANY LIMITED"
  2. the data arrives correctly in Postgres as '1-6 Chapman's End Managemen +t.
  3. Clearly, Postgres has stored it differently from how it matches it wit +h select when there are alphabetic diacritics in the string (actually + it's character varying of length 256 in Postgres).

Which immediately makes me think of VARCHARvs. NVARCHAR from the SQL Server space. Is there something in Postgres that needs doing to handle Unicode?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1192113]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-24 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found