BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 csfd.cz - import non english characters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rvitek
Starting Member

1 Posts

Posted - 24 Jan 2013 :  12:23:47  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, I have problems with import/update information about films from the web. I use "www.csfd.cz" script. In XMM version 7.2.3.6 its OK, but in version 8.0.4.4 there are problem with non english characters. Web page has coding UTF-8.

Version 7 "Plot" for "Toy Story":

Kdo si mysl, e hraky nemaj vlastn ivot, se ml. Sotva dtko vyjde ze dve, zanou se v jeho pokoji dt podivn vci. Vechny hraky si vydechnou, protoe mohou bt konen samy sebou, msto aby pedstraly, e jsou pouhmi neivmi pedmty.

etc.

Version 8 "Plot" for "Toy Story":

Kdo si myslĂ­, Ĺe hraky nemajĂ­ vlastnĂ­ Ĺivot, se mĂ˝lĂ­. Sotva dĂ­tko vyjde ze dveří, zanou se v jeho pokoji dĂ­t podivnĂ© v›ci. Všechny hraky si vydechnou, protoĹe mohou bĂ˝t konen› samy sebou, mĂ­sto aby pĹ™edstĂ­raly, Ĺe jsou pouhĂ˝mi neĹivĂ˝mi pĹ™edm›ty.

etc.

Thanks for reply

rocman
Junior Member

Australia
117 Posts

Posted - 26 Jan 2013 :  13:11:57  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
And I thought german umlauts are crazy...

Well, you have two possibilities!

1. The quick and dirty way
Search for #SCRIPTGENERATION# on top of the script. Add the following line below:
#USEOLDENGINE#=TRUE

2. The advanced way for future use
Search for #ENDSUBSTITUTETAGS# on bottom of the script. Add the following lines before:

	#SUBSTITUTEWORD#=ž=
	#SUBSTITUTEWORD#=é=
	#SUBSTITUTEWORD#==c
	#SUBSTITUTEWORD#=í=
	#SUBSTITUTEWORD#=Å™=r
	#SUBSTITUTEWORD#=Å¡=
	#SUBSTITUTEWORD#=ý=
	#SUBSTITUTEWORD#=›=e
	#SUBSTITUTEWORD#=á=
	#SUBSTITUTEWORD#=ů=u
	#SUBSTITUTEWORD#=Å¥=t
	#SUBSTITUTEWORD#=ó=
	#SUBSTITUTEWORD#=ú=
	#SUBSTITUTEWORD#=Œ=C	
	#SUBSTITUTEWORD#=ň=n
	#SUBSTITUTEWORD#=Ã=
	#SUBSTITUTEWORD#=Ě=E
	#SUBSTITUTEWORD#=Ã=
	#SUBSTITUTEWORD#=Ž=
	#SUBSTITUTEWORD#=Å=
	#SUBSTITUTEWORD#=É=
	#SUBSTITUTEWORD#=Ã=
	#SUBSTITUTEWORD#=c=l

Your example will look good (I don't speak a single word cz).
But I'm pretty sure some special characters are missing...
Some of the special characters my german notepad won't draw - maybe you can edit it after the second "=" for your needs.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.13 sec. Powered By: Snitz Forums 2000 Version 3.4.07