In the MySQL database I have names with non-English characters. For example: 'Guerneca','Gústav','Günther',
It is uncomfortable if I want to filter using the function:
JS
app.filter('startFrom', function() {
return function(input, start) {
if(input) {
start = +start; //parse to int
return input.slice(start);
};
return [];
}
});
input in PHP
<input type="text" ng-model="search" ng-change="filter()" placeholder="Filter" class="form-control" />
And I will begin to write gu the expected selection is all three names (Guernica, Gústav, Günther), but in my case I get only the name Guernica
I've also tried this page, but it did not help: w3schools.com
Also characters o for (ó,ô,ö) or r for (ŕ,ř) etc....
Interestingly, that small and capital letters are not sensitive.
Can you any help me? Thanks.