Hi,
What is the instruction to open a Unicode TXT file .
Thanks for your help .
How to read a unicode TXT file
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: How to read a unicode TXT file
MemoRead() or any other file read function of (x)Harbour can read Unicode (utf-8) text file.
For display and edit Unicode text set FW_SetUnicode( .T. ). MemoEdit() and GET MEMO can edit and save Unicode text.
For display and edit Unicode text set FW_SetUnicode( .T. ). MemoEdit() and GET MEMO can edit and save Unicode text.
Code: Select all
local cUnicodeText
FW_SetUnicode( .t. )
cUnicodeText := MEMOREAD( "unicode.txt" )
MEMOEDIT( cUnicodeText )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India