Fault with initcap

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Fault with initcap
Date: 2021-10-12 16:31:02
Message-ID: CA+i5Jwb7gv4N9qfctixtJFEpEAdeb7yOU1zoZ-HsaQdwmbGEmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

I tried initcap and found a major problem with it.

Initcap of notemachine is NoteMachine.

Initcap of Sainsbury's Bank is Sainsbury'S bank.

This is not expected.

Anyway to get around this problem?

Regards,

David

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2021-10-12 16:50:59 Aw: Fault with initcap
Previous Message Shaozhong SHI 2021-10-12 16:30:26 Fault with initcap

Browse pgsql-sql by date

  From Date Subject
Next Message Karsten Hilbert 2021-10-12 16:50:59 Aw: Fault with initcap
Previous Message Shaozhong SHI 2021-10-12 16:30:26 Fault with initcap