MacOS 10.12.3
Xojo 2017R1
Compiling to macOS environment.
The issue I am having is accessing a TextArea.Text variable and ONLY occurs when compiled with 64 bit. My program code goes like this:
SQLText.SelText = "£"
dim s27 As String = SQLText.Text
s27.FixString
dim s() As String = s27.Split(EndOfLine)
The FixString method is defined as:
Public Sub FixString(extends byref st As string)
st = st.DefineEncoding(Encodings.UTF8)
st = ReplaceLineEndings(st, EndOfLine)
End Sub
In a 32 bit compiled app I can see the “£” as “£” in one of the s() lines. In a 64 bit compiled app the “£” is shown in the debugger as a diamond and, therefore, I can’t find it when searching using Instr.
Can someone point me in the right direction as to how I can use the Classic string handling in a 64 bit application?
Thanks all.