Title: Multi-byte Unicode support
Last modified: August 6, 2018

---

# Multi-byte Unicode support

 *  [winstonyin](https://wordpress.org/support/users/winstonyin/)
 * (@winstonyin)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multi-byte-unicode-support/)
 * When using “truncate at n characters” option, if the last character before the
   ellipses is a Unicode character, then it sometimes displays incorrectly (question
   mark, box with question mark, etc). An easy fix is possible simply by changing“
   $t = substr( $t, 0, $c );” line in class/advanced-excerpt.php to “$t = mb_substr(
   $t, 0, $c );”. The latter function mb_substr handles multi-byte characters correctly.
   Please consider implementing this fix.

Viewing 1 replies (of 1 total)

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multi-byte-unicode-support/#post-10563840)
 * Hi,
 * Will test that out and release an update. Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Multi-byte Unicode support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-excerpt_ae8159.svg)
 * [Advanced Excerpt](https://wordpress.org/plugins/advanced-excerpt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-excerpt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-excerpt/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-excerpt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-excerpt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-excerpt/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/multi-byte-unicode-support/#post-10563840)
 * Status: not resolved