You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Foundation
print("Hello, world!".data(using:.japaneseEUC)asAny)
Results are:
OS
Swift
Result
macOS
5.10
"Optional(13 bytes)"
Ubuntu
5.10
"nil"
macOS
6.0
"Optional(13 bytes)"
Ubuntu
6.0
"nil"
This is not regression but discrepancy which should be also fixed.
The text was updated successfully, but these errors were encountered:
YOCKOW
changed the title
Discrepancy: String.data(using: . japaneseEUC) returns nil on non-Darwin.
Discrepancy: String.data(using: .japaneseEUC) returns nil on non-Darwin.
Oct 28, 2024
Given the following code:
Results are:
This is not regression but discrepancy which should be also fixed.
The text was updated successfully, but these errors were encountered: