Re: BUG #2579: initcap should not capitalize letter
От | Dan Franklin |
---|---|
Тема | Re: BUG #2579: initcap should not capitalize letter |
Дата | |
Msg-id | 7.0.1.0.2.20060817152951.020bf018@fen.com обсуждение исходный текст |
Ответ на | Re: BUG #2579: initcap should not capitalize letter after apostrophe (tomas@tuxteam.de) |
Ответы |
Re: BUG #2579: initcap should not capitalize letter
Re: BUG #2579: initcap should not capitalize letter |
Список | pgsql-bugs |
Good point. It is probably not possible to get=20 it perfect. But I think that possessives and=20 contractions occur more often in a typical body=20 of text than Irish names. So it would be right=20 more often, even if it is still wrong some of the time. Dan Franklin At 03:08 PM 8/17/2006, tomas@tuxteam.de wrote: >-----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@fen.com > > PostgreSQL version: 8.1.4 > > Operating system: GNU/Linux Fedora Core 5 > > Description: initcap should not capitalize letter after apostrop= he > > Details: > > > > The statement > > select initcap('John''s Parents'); > > returns > > John'S Parents > > > > The capital "S" after the apostrophe is incorrect. initcap should cons= ider > > 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=C3=83=C2=A1s >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) > >iD8DBQFE5L60Bcgs9XrR2kYRArkQAKCBI9uYSUckPWL6jzB3PFBXNAlwSgCeOoJx >NIBRgQZYqRajtx8HrUnW1Hs=3D >=3DGI/E >-----END PGP SIGNATURE----- Dan Franklin Family Education Network Pearson Education 617-671-3799=20
В списке pgsql-bugs по дате отправления: