<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Follow-up on this:<div class=""><br class=""></div><div class="">The StaticString solution doesn’t work:</div><div class=""><br class=""></div><div class=""><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div dir="auto" applecontenteditable="true" class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">let separator: StaticString = “|”</div><div class="">opt.fieldSep = UnsafeMutablePointer(mutating: separator.utf8start)</div><div class=""><br class=""></div></div></blockquote></div><div class="">… because utf8start returns UnsafePointer&lt;UInt8&gt;, and fieldSep is actually UnsafeMutablePointer&lt;Int8&gt;. There doesn’t seem to be any way to convert UnsafePointer&lt;Unit8&gt; to UnsafePointer&lt;Int8&gt;.</div><div class=""><br class=""></div><div class="">cString(using:) works because it returns [CChar], which is the same as Int8.</div><div class=""><br class=""></div><div class="">-Kenny</div><div class=""><br class=""></div></body></html>