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:


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()


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.


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

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