Issues

ZF-6168: Problems with the Console Adapter and Unicode chars

Issue Type: Bug Created: 2009-03-31T04:04:04.000+0000 Last Updated: 2009-03-31T05:09:28.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Stephan Wentz (swentz) Assignee: Ben Scholzen (dasprid) Tags: - Zend_ProgressBar

Related issues: Attachments:

Description

notify() in Console.php used str_pad() in case ELEMENT_TEXT, but it doesn't account the length of unicode strings - resulting in wrong lengths and thus moving the line further left into the previous line.

The call to str_pad() should be switched to Zend_Text_MultiByte::strPad()

Comments

Posted by Ben Scholzen (dasprid) on 2009-03-31T05:09:26.000+0000

Fixed with r14558.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts