line 82: var words = _.compact(text.split(/\W+/));
This result in in lost Unicode character for data grid header.
Test:
Set an entity to displayed on data grid with column header "Đăng nhập vào lúc"
Expected: "ĐNVL" or "ĐĂNG NHẬP VÀO LÚC"
Actual: NGNHPVOLC
Which is the result of treating Unicode character as word deliminator.
Suggestion: review Regex to use white-space as word deliminator instead.
src/Oro/Bundle/UIBundle/Resources/public/js/tools/text-util.js
line 82:
var words = _.compact(text.split(/\W+/));
This result in in lost Unicode character for data grid header. Test: Set an entity to displayed on data grid with column header "Đăng nhập vào lúc" Expected: "ĐNVL" or "ĐĂNG NHẬP VÀO LÚC" Actual: NGNHPVOLC Which is the result of treating Unicode character as word deliminator. Suggestion: review Regex to use white-space as word deliminator instead.