Brian,
Thank you for confirming the bug ... and a super thank you for the work
around! It is brilliant.
On 5/29/2018 8:04 PM, Brian Milby via use-livecode wrote:
> I'm seeing the same results Mac Sierra / Win 10. But, you can open the
> file as binary.
>
> ...
> open file theFile for binary
I'm seeing the same results Mac Sierra / Win 10. But, you can open the
file as binary.
...
open file theFile for binary read
...
Function Readln FILE_NAME
Read from file FILE_NAME until Return
Delete last char of it
Return textDecode(it,"UTF-8")
End Readln
Function Readbk FILE_NAME
I have found a bug in LC9.0.0 under Windows 8.1 that does not appear
under OSX (Mavericks).
When reading a UTF-8 file via Open File, Read From File, Close File (vs
say a Put URL ...into tVar; put textDecode(tVar,"UTF-8") into ...) I am
seeing a problem decoding Traditional Chinese and Japanese