Page 1 of 1
Can't seem to invitebyname special character ö
Posted: Fri Jul 01, 2011 11:25 am
by sfko
Trying to invite a player with ö
I tried capc/148m but doesn't invite correctly.
Re: Can't seem to invitebyname special character ö
Posted: Fri Jul 01, 2011 12:09 pm
by Administrator
First of all, where are you putting this? There is a big difference between the XML files (profile, waypoint scripts) and Lua scripts.
Re: Can't seem to invitebyname special character ö
Posted: Fri Jul 01, 2011 4:37 pm
by sfko
It is in waypoint
sendMacro('InviteByName("Capc/148m")');
(And no thats not my name, thats chosen because my SSF4 CD is on my desk. )
Re: Can't seem to invitebyname special character ö
Posted: Fri Jul 01, 2011 5:15 pm
by Administrator
Use the ö character normally and make sure the file is saved as UTF-8 without BOM. I recommend you use Notepad++ to edit your waypoints, and you'll find the option to encode with UTF-8 without BOM under the 'Encoding' menu.
Re: Can't seem to invitebyname special character ö
Posted: Fri Jul 01, 2011 7:15 pm
by sfko
Worked like a charm, TY.