mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 18:02:44 +02:00
refactor: Rename fs::path::u8string() to fs::path::utf8string()
This commit is contained in:
@@ -1406,7 +1406,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
|
||||
|
||||
- *Rationale*: User-facing consistency.
|
||||
|
||||
- Use `fs::path::u8string()` and `fs::u8path()` functions when converting path
|
||||
- Use `fs::path::u8string()`/`fs::path::utf8string()` and `fs::u8path()` functions when converting path
|
||||
to JSON strings, not `fs::PathToString` and `fs::PathFromString`
|
||||
|
||||
- *Rationale*: JSON strings are Unicode strings, not byte strings, and
|
||||
|
Reference in New Issue
Block a user