Doesn't like the é char

Scans for, and displays main/alt relations in your Guild

Moderator: PleegWat

Doesn't like the é char

Postby BlackRabbit » Tue Sep 19, 2006 7:37 am

Hi,

I've recently install this addon to find that if a main name has the é char in it you will be unable to associated any alts to it...

I get an error on uploading the lua saying giving the previous chars before the é...

EG Main name = Stéphane
Officers note in Alt = Alt-Stéphane
Error = TheFather has invalid main name St, so we're making him a main. He doesn't have alts.

As you can see the script gets to the é and freaks out a bit.

TIA for any help.. (or a fix)
User avatar
BlackRabbit
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sat Jul 08, 2006 12:40 am

Re: Doesn't like the é char

Postby sturmy » Tue Sep 19, 2006 9:51 am

Change the regexp for Alt detection in the addon config.

I use: /Reroll\s*([\pL]+)/i to match "Reroll MAIN_NAME" followed by anything you want in the note.

This being based on Pleegwat's advice somewhere else in this forum.
sturmy
WR.net Expert
WR.net Expert
 
Posts: 160
Joined: Wed Aug 16, 2006 9:07 pm

Doesn't like the é char

Postby PleegWat » Tue Sep 19, 2006 2:01 pm

Check the topic on Trouble with accented letters in notes for more workarounds. The one Sturmy describes works only in PHP 4.4.0+ or 5.1.0+
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Doesn't like the é char

Postby BlackRabbit » Tue Sep 19, 2006 3:50 pm

Hmmm I did a search for help as well.... Sorry about that... I don't like to double post..

Going to go look now.

:)
User avatar
BlackRabbit
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sat Jul 08, 2006 12:40 am


Return to AltMonitor

Who is online

Users browsing this forum: No registered users and 1 guest

cron