* Matias E. Fernandez <[email protected]> [100512 04:36]:
> This is about "The Unicode Bug" [2] and will cause the following test to fail:
> 
> my $title = "\x{e4}\x{f6}\x{fc}"; # "äöü"

This isn't a UTF-8 string.

    utf8::is_utf8($title); # false

    utf8::upgrade($title); # now it is

> $album->title($title);
> $album->update();
> $album->discard_changes();
> ok($album->title(), $title, "UTF-8 column survives read/write cycle and 
> preserves character semantics");

        -Marc

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to