maxLength works fine for English, Japanese, Korean and normal Chinese(3 bytes) string, but for rarely-used Chinese characters(4 bytes) like 𠁊𪛐𠁊𪛐
maxLength become to half of the setting.

Ext.onReady(function () {
Ext.widget('form', {
title: 'I18nTest',
width: 300,
bodyPadding: 10,
renderTo: Ext.getBody(),
items: [
{
xtype: 'textfield',
name: 'Name',
fieldLabel: 'Name',
maxLength: 4,
enforceMaxLength: true
}
],
});
});
1.png