diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -1072,7 +1072,12 @@ Otherwise it is a newly created string, with no text properties. | |||
| 1072 | If STRING is unibyte and contains an individual 8-bit byte (i.e. not | 1072 | If STRING is unibyte and contains an individual 8-bit byte (i.e. not |
| 1073 | part of a correct utf-8 sequence), it is converted to the corresponding | 1073 | part of a correct utf-8 sequence), it is converted to the corresponding |
| 1074 | multibyte character of charset `eight-bit'. | 1074 | multibyte character of charset `eight-bit'. |
| 1075 | See also `string-to-multibyte'. */) | 1075 | See also `string-to-multibyte'. |
| 1076 | |||
| 1077 | Beware, this often doesn't really do what you think it does. | ||
| 1078 | It is similar to (decode-coding-string STRING 'utf-8-emacs). | ||
| 1079 | If you're not sure, whether to use `string-as-multibyte' or | ||
| 1080 | `string-to-multibyte', use `string-to-multibyte'. */) | ||
| 1076 | (string) | 1081 | (string) |
| 1077 | Lisp_Object string; | 1082 | Lisp_Object string; |
| 1078 | { | 1083 | { |