Bug Report #3042

UTF8::ucwords() not preserving capitals within words

Added by Arno Nöbl over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:07/01/2010
Priority:NormalDue date:
Assignee:Jeremy Bush% Done:

100%

Category:Core
Target version:v3.0.7
Resolution:fixed Points:

Description

If mb functions are available, UTF8::ucwords() will use mb_convert_case(), which does not preserve capital letters within words.

E.g. both ucwords() and UTF8::ucwords() with mb functions unavailable will convert 'exAmple' to 'ExAmple'.
UTF8::ucwords() with mb functions available will convert it to 'Example'.

Associated revisions

History

#1 Updated by Geert De Deckere over 4 years ago

  • Category set to Core
  • Status changed from New to Closed
  • Assignee set to Geert De Deckere
  • Target version set to v3.0.7
  • Resolution set to fixed

#2 Updated by Jeremy Bush over 4 years ago

  • Status changed from Closed to Needs Test
  • Assignee changed from Geert De Deckere to Jeremy Bush

#3 Updated by Jeremy Bush over 4 years ago

  • Status changed from Needs Test to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF