text formatting is not work on persian and arabic!!

Aug 22, 2009 at 2:28 PM

hi again matthaw

i use this app for persian lang.but when i use for example [سلام] in source, the referrer address is "default.aspx?p=" that must be "?p=سلام"!!

whats wrong?
thanks

Coordinator
Aug 22, 2009 at 3:45 PM

It's a problem with SlugHelper, as it only looks for a-z and 0-9 characters. As this is merely a sample application showing usage, I won't be fixing this.

Aug 22, 2009 at 4:17 PM
Edited Aug 22, 2009 at 4:19 PM

i fix it! just edit this line in slugHelper Module!

before :      ElseIf (c >= "a"c AndAlso c <= "z"c) OrElse (c >= "0"c AndAlso c <= "9"c)  Then

after :         ElseIf (c >= "a"c AndAlso c <= "z"c) OrElse (c >= "0"c AndAlso c <= "9"c) OrElse (1776 <= Asc(c) And Asc(c) <= 1785) OrElse (c >= "ا"c AndAlso c <= "ی"c) Then

 

;-)