| From: | tomas(at)tuxteam(dot)de |
|---|---|
| To: | Dan Franklin <dfranklin(at)fen(dot)com> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #2579: initcap should not capitalize letter after apostrophe |
| Date: | 2006-08-17 19:08:37 |
| Message-ID: | 20060817190837.GA8772@www.trapp.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Aug 16, 2006 at 09:03:08PM +0000, Dan Franklin wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2579
> Logged by: Dan Franklin
> Email address: dfranklin(at)fen(dot)com
> PostgreSQL version: 8.1.4
> Operating system: GNU/Linux Fedora Core 5
> Description: initcap should not capitalize letter after apostrophe
> Details:
>
> The statement
> select initcap('John''s Parents');
> returns
> John'S Parents
>
> The capital "S" after the apostrophe is incorrect. initcap should consider
> the apostrophe to be a word-constituent for the purpose of identifying word
> boundaries at which to start capitalizing.
Hmm. And what about Flann O'Brien?
Tough thing, this.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFE5L60Bcgs9XrR2kYRArkQAKCBI9uYSUckPWL6jzB3PFBXNAlwSgCeOoJx
NIBRgQZYqRajtx8HrUnW1Hs=
=GI/E
-----END PGP SIGNATURE-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dan Franklin | 2006-08-17 19:34:41 | Re: BUG #2579: initcap should not capitalize letter |
| Previous Message | Alex Zhang | 2006-08-17 09:57:58 | BUG #2580: Analyze table cause invalid memory alloc error in "start with xx" select statement |