Commit 27effcb
authored
SF-0033: Amend proposal in response to feedback. (#1502)
* [Proposal] Add "String Encoding Names" proposal.
This proposal allows `String.Encoding` to be converted to and from various names.
For example:
```swift
print(String.Encoding.utf8.ianaName!) // Prints "UTF-8"
print(String.Encoding(ianaName: "ISO_646.irv:1991") == .ascii) // Prints "true"
```
* Change the link to implementation.
* Remove description about #1015 since it is resolved.
Links:
- Issue: #1015
- Resolvers:
* #1217
* swiftlang/swift-corelibs-foundation#5194
* Add a description about already-available ICU string converter.
* SF-0033: Add `@available` attributes to sample code.
In response to: https://forums.swift.org/t/review-sf-0033-string-encoding-names/81965/7
* SF-0033: Clarify which "case-insensitivity" is used.
In response to: https://forums.swift.org/t/review-sf-0033-string-encoding-names/81965/8
* SF-0033: Change FoundationPreview version to 6.3.
In response to: #1502 (comment)1 parent 02c0494 commit 27effcb
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| 166 | + | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
| |||
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
225 | | - | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
235 | | - | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
0 commit comments