[Tickets #7805] Re: Charset trouble when saving page names in db backend

bugs at horde.org bugs at horde.org
Wed Dec 24 19:29:08 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7805
------------------------------------------------------------------------------
  Ticket             | 7805
  Updated By         | lfbm.andamentos at gmail.com
  Summary            | Charset trouble when saving page names in db backend
  Queue              | Wicked
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lfbm.andamentos at gmail.com (2008-12-24 14:28) wrote:

Horde 3.3.3-cvs
Wicked 1.0-cvs

When I create a page with special characters in the name, like  
"Circunstância", the page is saved in my database as "Circunstância".

It would be better to get the names saved exactly as they were wrote  
(like in Turba), due to future migrations and even manual query  
activities.

If I change line 616 of wicked/lib/Driver/sql.php from '$pagename,' to:

'String::convertCharset($pagename, NLS::getCharset(), $this->getCharset()),'

Then the page name is saved ok in my db backend.

But then when displaying the page name in the application I get:

'Circunst�ncia'

Thanks





More information about the bugs mailing list