Importing Cyrillic Text

Richmond Mathewson geradamas at yahoo.com
Wed Dec 6 15:20:24 EST 2006


One of my old chestnuts crops up again:-

on mouseDown
  set the useUnicode to true
  answer file "CHOOSE A FILE TO IMPORT"
  if the result = "cancel" then exit mouseDown
  put it into NAMESTR 
  open file NAMESTR for read
  read from file NAMESTR until EOF 
  put it into the field "fENTER"
end mouseDown

open a Bulgarian .txt or .rtf file . . .

and I get something (on Mac OS X and Win XP) that
looks rather like ancient Egyptian heiroglyphs . . .

so, obviously, I am going badly wrong

help gratefully recieved,

sincerely, Richmond Mathewson

____________________________________________________________

"Its time to do Philosophy and stop worrying about what dead men said."
                                                                                           Mathewson 2006
____________________________________________________________


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html



More information about the use-livecode mailing list