[Tickets #9323] Searching for groups with non ascii chars

bugs at horde.org bugs at horde.org
Wed Oct 20 15:04:00 UTC 2010


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/9323
------------------------------------------------------------------------------
  Ticket           | 9323
  Erstellt Von     | sebastian.radish at gmx.de
  Zusammenfassung  | Searching for groups with non ascii chars
  Warteschlange    | Horde Framework Packages
  Version          | FRAMEWORK_3
  Typ              | Bug
  Status           | Unconfirmed
  Priorität       | 1. Low
  Milestone        |
  Patch            |
  Zuständige      |
------------------------------------------------------------------------------


sebastian.radish at gmx.de (2010-10-20 11:04) hat geschrieben:

I'm writing my own module vor Horde (currently 3.3.8)

I'm using a MySQL database (charset is set to utf-8). The group system  
uses the DataTree backend.

I want to try if a group (with non ascii chars) exists with something  
like this:
Group::singleton()->exits($group);
However, if the groups are not cached, it only works if I do this first:
$group = String::convertCharset($group,  
$GLOBALS['_HORDE_STRING_CHARSET'], 'utf-8');

$GLOBALS['_HORDE_STRING_CHARSET'] seems to be 'iso8859-1'.






More information about the bugs mailing list