Skip to content

Commit 7ea3aad

Browse files
author
Mohit Athwani
committed
Resolved merge conflict again
2 parents a0ffced + 6e4bf20 commit 7ea3aad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Foundation/NSString.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,6 @@ extension NSString {
13011301
let readResult = try NSData(contentsOf: url, options:[])
13021302

13031303
let bytePtr = readResult.bytes.bindMemory(to: UInt8.self, capacity:readResult.length)
1304-
13051304
if readResult.length >= 2 && bytePtr[0] == 254 && bytePtr[1] == 255 {
13061305
enc?.pointee = String.Encoding.utf16BigEndian.rawValue
13071306
}

0 commit comments

Comments
 (0)