|
Locale-Sensitive JavaScript NodeJS Method
Internationalization (I18n) Method Overview
The
Click here for additional details. I18n IssuesIf the buffer contains a string, then any of the the targetStart, sourceStart, and sourceEnd parameters may be based upon the number of string characters passed. However, different unicode characters may require varying amounts of bytes to encode. Suggested ReplacementIf providing a start or end setting for a string buffer, calculate the bytelength of the desired sections relevant to the encoding used. Do not assume the bytelength will be directly proportional to the number of string characters. Globalyzer will detect this method and report it as an i18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.
|