@@ -130,21 +130,21 @@ |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | - * Transcode a string adding double quotes escaping |
|
| 134 | - * |
|
| 135 | - * Transcoding is only required for Windows installers, and no Unicode support |
|
| 136 | - * in NSIS (NSIS version below 3) |
|
| 137 | - * Trancoding is only applied if the third optional parameter is set and nonzero |
|
| 138 | - * If CONFIG['NSIS']_VERSION is set to 3 or more, no transcoding will be applied |
|
| 139 | - * regardless of the second parameter value. |
|
| 140 | - * The second optional parameter, if nonzero, should be the character set understood by iconv |
|
| 141 | - * This is required by the Windows installer and is expected to go away in the future. |
|
| 142 | - * |
|
| 143 | - * @param string $source_string The source string |
|
| 144 | - * @param int $encoding Set Windows charset if non-zero |
|
| 145 | - * @return string |
|
| 146 | - * @final not to be redefined |
|
| 147 | - */ |
|
| 133 | + * Transcode a string adding double quotes escaping |
|
| 134 | + * |
|
| 135 | + * Transcoding is only required for Windows installers, and no Unicode support |
|
| 136 | + * in NSIS (NSIS version below 3) |
|
| 137 | + * Trancoding is only applied if the third optional parameter is set and nonzero |
|
| 138 | + * If CONFIG['NSIS']_VERSION is set to 3 or more, no transcoding will be applied |
|
| 139 | + * regardless of the second parameter value. |
|
| 140 | + * The second optional parameter, if nonzero, should be the character set understood by iconv |
|
| 141 | + * This is required by the Windows installer and is expected to go away in the future. |
|
| 142 | + * |
|
| 143 | + * @param string $source_string The source string |
|
| 144 | + * @param int $encoding Set Windows charset if non-zero |
|
| 145 | + * @return string |
|
| 146 | + * @final not to be redefined |
|
| 147 | + */ |
|
| 148 | 148 | final protected function translateString($source_string, $encoding = 0) { |
| 149 | 149 | $this->loggerInstance->debug(5, "translateString input: \"$source_string\"\n"); |
| 150 | 150 | if (empty($source_string)) { |