|
Locale-Sensitive JavaScript NodeJS Method
Internationalization (I18n) Method OverviewThe For example:
const buf = Buffer.alloc(5);
Click here for additional details. I18n IssuesWhether or not calling
Suggested ReplacementMake sure that you pass in the correct encoding for your application usage. If calculating the size of the buffer from a string, do not assume that the buffer size 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.
|