[Tickets #11930] Re: Horde_String::validUtf8 fails to validate valid UTF8

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 8 21:35:13 UTC 2013


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

Ticket-URL: http://bugs.horde.org/ticket/11930
------------------------------------------------------------------------------
  Ticket           | 11930
  Aktualisiert Von | samuel at sheepflock.de
  Zusammenfassung  | Horde_String::validUtf8 fails to validate valid UTF8
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
+Neue Anlage      | boolean_result.png
------------------------------------------------------------------------------


samuel at sheepflock.de (2013-01-08 21:35) hat geschrieben:

$test = 'ö ä
Grüßen';
var_dump(Horde_String::validUtf8($test));
=> boolean false
--------------------------------------%<--------------------------------------
$test = 'ö ä
Grü ßen';
var_dump(Horde_String::validUtf8($test));
=> boolean true
--------------------------------------%<--------------------------------------
$test = 'öä
Grü ßen';
var_dump(Horde_String::validUtf8($test));
=> boolean false


root at wds:/usr/share/php/tests/Horde_Util/Horde/Util# phpunit StringTest.php
PHPUnit 3.7.10 by Sebastian Bergmann.

Configuration read from /usr/share/php/tests/Horde_Util/Horde/Util/phpunit.xml

.S.S..S.........

Time: 0 seconds, Memory: 3.50Mb

OK, but incomplete or skipped tests!
Tests: 16, Assertions: 90, Skipped: 3.
root at wds:/usr/share/php/tests/Horde_Util/Horde/Util#



samuel at sheepflock.de (2013-01-08 21:35) hat hochgeladen: boolean_result.png

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=boolean_result.png&ticket=11930&fn=%2Fboolean_result.png





More information about the bugs mailing list