Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Testing URLWrite and specials characters
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Testing URLWrite and specials characters

 Post Reply Post Reply Page  <12
Author
marianux View Drop Down
Newbie
Newbie


Joined: 01 July 2009
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote marianux Quote  Post ReplyReply Direct Link To This Post Posted: 10 July 2009 at 8:21pm
Well , i have seen another post with the same solution for nordic characters so i think it can help to people with forums withs spanish character:
 
Just in funcion SeoUrlTitle in includs/functions_filters.asp file
 
just after line:
strInputEntry = Replace(strInputEntry, "/", " ", 1, -1, 1)
 
Then put in:
 'INICIO Cambio -------------------------------------
 strInputEntry = Replace(strInputEntry, CHR(225), "a", 1, -1, 0)
 strInputEntry = Replace(strInputEntry, CHR(233), "e", 1, -1, 0)
 strInputEntry = Replace(strInputEntry, CHR(237), "i", 1, -1, 0)
 strInputEntry = Replace(strInputEntry, CHR(243), "o", 1, -1, 0)
 strInputEntry = Replace(strInputEntry, CHR(250), "u", 1, -1, 0)
 strInputEntry = Replace(strInputEntry, CHR(241), "n", 1, -1, 0)  ' para la ñ >> n
 strInputEntry = Replace(strInputEntry, CHR(231), "s", 1, -1, 0)  
 '------------------------------------------ FIN Cambio
Back to Top
ChokoL@te View Drop Down
Newbie
Newbie


Joined: 01 October 2003
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChokoL@te Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2009 at 4:55pm
I dit it. But this cannot resolve our issue with acentuated letters in the forum. We downloaded the spanish lenguage files and acentuated letters appears bad. How we can solve this?
Back to Top
hole19 View Drop Down
Newbie
Newbie
Avatar

Joined: 02 July 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hole19 Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2009 at 8:04pm
Edit includes/setup_options_inc.asp
Desactivate line 142: Const strPageEncoding = "utf-8"
Activate line 145: Const strPageEncoding = "iso-8859-1"
Back to Top
PedroCury View Drop Down
Groupie
Groupie


Joined: 12 July 2008
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote PedroCury Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2009 at 6:31pm
For the ones that use the forum with iso-8859-1 encoding, I used the following code for portuguese language:

     strInputEntry = Replace(strInputEntry, CHR(224), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(225), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(226), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(227), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(228), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(229), "a", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(232), "e", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(233), "e", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(234), "e", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(235), "e", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(236), "i", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(237), "i", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(238), "i", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(239), "i", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(242), "o", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(243), "o", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(244), "o", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(245), "o", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(246), "o", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(249), "u", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(250), "u", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(251), "u", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(252), "u", 1, -1, 0)
     strInputEntry = Replace(strInputEntry, CHR(241), "n", 1, -1, 0)  'ñ
     strInputEntry = Replace(strInputEntry, CHR(231), "c", 1, -1, 0)  'ç

It should be used in the same place Marianux is using.

It´s working for my tests.
Back to Top
TonyG View Drop Down
Newbie
Newbie


Joined: 07 August 2009
Location: Extremadura
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyG Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2009 at 9:48pm
Originally posted by marianux marianux wrote:

á -> a
é -> e
í -> i
ó -> o
ú -> u
 
ñ -> n (or even nh)

Don't forget cigüeña




Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.