How do I import a text file in Hebrew?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How do I import a text file in Hebrew?
@liveCode
You should read all replies carefully and ask if you don't understand them!
You should read all replies carefully and ask if you don't understand them!
Re: How do I import a text file in Hebrew?
I tried the solution that was there but it did not help
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How do I import a text file in Hebrew?
Again . . .
Unicode compliance?
Name of font?
Version of Windows?
Unicode compliance?
Name of font?
Version of Windows?
Re: How do I import a text file in Hebrew?
Hmmm, see attached screenshot!?
I downloaded yout text file, opened it with TextEdit on my Mac and imported it
into an LC field with my above mentioned script. Looks really OK to me.
I downloaded yout text file, opened it with TextEdit on my Mac and imported it
into an LC field with my above mentioned script. Looks really OK to me.
Re: How do I import a text file in Hebrew?
How can I get the user to select the file?
I tried this code and it did not work ...
I tried this code and it did not work ...
Code: Select all
on mouseUp
answer file "file:"
put url(it) into tText
put textdecode(tText,"UTF-8") into fld 1
end mouseUp
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: How do I import a text file in Hebrew?
Is this for mobile? Answer file and ask file don't work there.
On desktop you need to add the file designator:
Code: Select all
put url ("file:" & it) into tText
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: How do I import a text file in Hebrew?
This works if the text in the file is in English but if it is Hebrew then it leaves the field blank
Re: How do I import a text file in Hebrew?
Did you try with your own test file you had posted -> טקסט לדוגמא.txt ? That worked for me as you can see in my posting.
What exactly did you script? Why are you always so miserly with infos?
What exactly did you script? Why are you always so miserly with infos?
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How do I import a text file in Hebrew?
Possible answers:Why are you always so miserly with infos?
1. The OP wants other people to do their work for them.
2. They have a very limited understanding of computers and computer programming . . .
(think "what is RTF?")
I asked the OP to attach their original text file, and they did NOT, they attached something different.