SVN [1257] Bug with alt sorting in memberlist

Posts from previous Beta sessions

SVN [1257] Bug with alt sorting in memberlist

Postby Knevil » Mon Aug 20, 2007 6:20 pm

I dont know if this thread is in the right forum, because its an issue with an addon of roster beta ;)

I configured the alt display with the regex string, its set to:
Code: Select all
/([\w]+)/

all works great BUT chars with special characters like ä à are not displayed as they should.

Example:

Main: Lunäa
Alt: Sunmoonstar, Bankonda

Main: Seliná
Alt: Sígí

These alts are shown as Mainless alt, the other ones without special chars in it are shown correctly

here is a link to the page: http://www.ruhrpott......memberslist

Maybe its in the regex string and not a bug, i dont understand the regex thing :oops:
Last edited by Knevil on Mon Aug 20, 2007 6:23 pm, edited 1 time in total.
User avatar
Knevil
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Thu May 31, 2007 7:27 pm
Location: Germany

SVN [1257] Bug with alt sorting in memberlist

Postby Subxero » Mon Aug 20, 2007 10:34 pm

use /([\pL]+)/
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

SVN [1257] Bug with alt sorting in memberlist

Postby PleegWat » Tue Aug 21, 2007 1:47 am

This is the same code as in AltMonitor, so the same regex restrictions and possibilities apply. \w always works, but not with special chars. \pL works if you have php 4.4+ or 5.1+. \S always works with special chars, but will cause trouble if you have stuff like brackets around your alt name.
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

SVN [1257] Bug with alt sorting in memberlist

Postby Knevil » Tue Aug 21, 2007 4:36 am

ok thanks :)
User avatar
Knevil
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Thu May 31, 2007 7:27 pm
Location: Germany


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron