Fixes that, when using ASP.NET with AJAX, Javascript uses chartAt to count the characters in each chunk. In such a case, certain combinations in certain languages use 2 octets per char and AJAX does not work (web console shows a response parsing bug, as the length of each chunk does not match that of the content (translation result). With this code, the resulting stream can have a larger number of characters than the original.
This code was made in 2019 on i18n version 2.1.10. Updated to the current version 2.1.17.
…nslation.
Fixes that, when using ASP.NET with AJAX, Javascript uses chartAt to count the characters in each chunk. In such a case, certain combinations in certain languages use 2 octets per char and AJAX does not work (web console shows a response parsing bug, as the length of each chunk does not match that of the content (translation result). With this code, the resulting stream can have a larger number of characters than the original.
This code was made in 2019 on i18n version 2.1.10. Updated to the current version 2.1.17.