Skip to content

Commit 072b7cc

Browse files
bobhysholderbachHofer-Julian
authored
Document \u{x...} unicode escapes (#756)
* Document \u{x...} unicode escapes; German and Chinese translations need review. * Update de/book/working_with_strings.md Co-authored-by: Hofer-Julian <[email protected]> * Update Chinese translation Authored by @WindSoilder --------- Co-authored-by: Stefan Holderbach <[email protected]> Co-authored-by: Hofer-Julian <[email protected]>
1 parent 0707120 commit 072b7cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

book/working_with_strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Nushell currently supports the following escape characters:
7070
- `\r` - carriage return
7171
- `\n` - newline (line feed)
7272
- `\t` - tab
73-
- `\uXXXX` - a unicode character (replace XXXX with the number of the unicode character)
73+
- `\u{X...}` - a single unicode character, where X... is 1-6 hex digits (0-9, A-F)
7474

7575
## Bare strings
7676

de/book/working_with_strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Nushell unterstützt aktuell folgende Escape Zeichen:
4949
- `\r` - Zeilenumschalt
5050
- `\n` - Neue Zeile (line feed)
5151
- `\t` - Tabulator
52-
- `\uXXXX` - Ein Unicode Zeichen (Tausche XXXX mit der Nummer des Unicode Zeichens)
52+
- `\u{X...}` - Ein Unicode Zeichen, wobei der Platzhalter `X...` für ein bis sechs hexadezimale Ziffern steht (0-9, A-F)
5353

5454
## Text Interpolation
5555

zh-CN/book/working_with_strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Nushell 目前支持以下转义字符:
3838
- `\r` - 回车符
3939
- `\n` - 换行符 (line feed)
4040
- `\t` - 制表符
41-
- `\uXXXX` - Unicode 字符 (用 Unicode 字符的编号替换 XXXX)
41+
- `\u{X...}` - Unicode字符, 其中X...为1到6位的十六进制数字
4242

4343
## 字符串插值
4444

0 commit comments

Comments
 (0)