"Admin title" and "Admin desc" options in the "Pane settings" section of the views admin interface are displayed trimmed to 16 chars using substr().
If a user enters a title or description containing non-english characters (e.g. Seznam smučišč v Sloveniji) upon clicking "Apply" the string gets malformed and the whole views admin interface disappears. A page refresh is needed to bring the interface back.

Functions drupal_strlen() and drupal_substr() should be used instead of strlen() and substr() for proper UTF string handling.

Comments

paranojik’s picture

...and here's the patch.

merlinofchaos’s picture

Status: Active » Needs review

Marking 'needs review' -- I missed this in my last patch review spree.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.