Déclic Vidéo Gold Membership
 Ventrian Master Posts:1355


 |
|
Ismet Dumlupinar Gold Membership
 Ventrian Master Posts:406

 |
|
GlenWin Gold Membership
 Ventrian Master Posts:843
.Glen.1/XL-animation_thumb.gif)

 |
| 12/30/2007 10:35 PM |
|
Hi GreenFlash,
Can You test if it would work for Vietnamese too? I believe Vietnamese char are very simmilar to the French ( ...well after all Vietnamese alphabets were derived by the French colonials ) Here id the full convertion list here ̣̣(just look at the Unicode Hex and ignore the rest)
basically all I need is tp strip out all the accents and just leave the basic Latin characters
Eg.
ă > a
â > a
ê > e
ô > o
Ó > O
Ò > O
please let me know if it works
Thanks |
|
|
|
|
Déclic Vidéo Gold Membership
 Ventrian Master Posts:1355


 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:18567


 |
| 1/09/2008 8:09 AM |
|
This has been changed for the next release - it is not a configurable option (no char replacement by default). Turkish is selectable as an option. If you want me to add more options, please let me know the list of characters to replace. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Ventrian Master Posts:1355


 |
| 1/13/2008 1:47 AM |
|
Would it be possible to include french replacement as well ???
List of characters to be found here: http://tlt.psu.edu/suggestions/international/bylanguage/french.html
| Capital Vowels |
| À |
ALT+0192 |
| Â |
ALT+0194 |
| Ä |
ALT+0196 |
| È |
ALT+0200 |
| É |
ALT+0201 |
| Ê |
ALT+0202 |
| Ë |
ALT+0203 |
| Î |
ALT+0206 |
| Ï |
ALT+0207 |
| Ô |
ALT+0212 |
| Œ |
ALT+0140 |
| Ù |
ALT+0217 |
| Û |
ALT+0219 |
| Ü |
ALT+0220 |
| Ÿ |
ALT+0159 |
|
| |
Lowercase Vowels |
| à |
ALT+0224 |
| â |
ALT+0226 |
| ä |
ALT+0228 |
| è |
ALT+0232 |
| é |
ALT+0233 |
| ê |
ALT+0234 |
| ë |
ALT+0235 |
| î |
ALT+0238 |
| ï |
ALT+0239 |
| ô |
ALT+0244 |
| œ |
ALT+0156 |
| ù |
ALT+0249 |
| û |
ALT+0251 |
| ü |
ALT+0252 |
| ÿ |
ALT+0255 |
|
| |
Consonants/Punctuation |
| Ç |
ALT+0199 (caps) |
| ç |
ALT+0231 (lower) |
| « |
ALT+0171 (Left Angle Quote) |
| » |
ALT+0187 (Right Angle Quote) |
| € |
ALT+0128 |
|
Thanks a lot,
DV
|
|
Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX |
|
|
tunersdream Registered Users
 Ventrian Active Member Posts:27

 |
| 1/16/2008 10:50 AM |
|
Hi guys! All this work has to be compensate :) ! I'm renewing my gold account. For Canadian and French, it's all the same Scott. Thank you for all this great work ! |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18567


 |
| 1/16/2008 1:48 PM |
|
| Thanks DV, I will list this under French. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Ventrian Master Posts:1355


 |
|
Ismet Dumlupinar Gold Membership
 Ventrian Master Posts:406

 |
|
Plachow Gold Membership
 Ventrian Newbie Posts:8

 |
| 3/27/2008 10:12 AM |
|
Guys, why creating special national replacement packs when you can use one universal solution, at least for Latin character stes. Just now I'm wondering, why there is just Turkish replacement in News Articles. I need Czech!!! :-) My customer's solution needs Slovak transcription and I can imagine that our western neighbours (Germans of course :-) need replace ü with u also :-)
I hope that function like following one solve all those needs:
Public Shared Function RemoveDiacritics(ByVal s As String) As String s = s.Normalize(System.Text.NormalizationForm.FormD) Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder() Dim i As Integer For i = 0 To s.Length - 1 If CharUnicodeInfo.GetUnicodeCategory(s(i)) <> UnicodeCategory.NonSpacingMark Then sb.Append(s(i)) End If Next Return sb.ToString() End Function
I implemented this function into DNN URL rewirte mechanism and it works like charm for page names with diacritcs in page name :-)
Btw., Scott, News Articles and other your modules are really awesome, worth of Gold membership! |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18567


 |
| 3/28/2008 5:00 AM |
|
| I think that function is the best option, what do other people think? |
|
Scott McCulloch Site Administrator |
|
|
GlenWin Gold Membership
 Ventrian Master Posts:843
.Glen.1/XL-animation_thumb.gif)

 |
| 3/28/2008 5:40 AM |
|
Hi Guys, Honestly I have no ideas what the Function codes above do ..but if it can strip out all the accent eg 'Việtnam' become 'Vietnam' then that is all i need :-) Glen |
|
|
|
|
Plachow Gold Membership
 Ventrian Newbie Posts:8

 |
| 3/28/2008 5:57 AM |
|
Yes, it does exactly what you wite, "Việtnam" becomes "Vietnam" and "stříbrožluťoučký kůň" becomes "stribrozlutoucky kun"
:-) |
|
|
|
|
GlenWin Gold Membership
 Ventrian Master Posts:843
.Glen.1/XL-animation_thumb.gif)

 |
| 3/28/2008 6:35 AM |
|
| Great! so is it available now? how do you know that it works ? |
|
|
|
|
Plachow Gold Membership
 Ventrian Newbie Posts:8

 |
| 3/28/2008 7:05 AM |
|
GlenWin: it depends on Scott, not me :-) You can try it here: http://www.plachow.com/tryit.aspx |
|
|
|
|
GlenWin Gold Membership
 Ventrian Master Posts:843
.Glen.1/XL-animation_thumb.gif)

 |
| 3/28/2008 3:10 PM |
|
| Wow ! I can confirmed that the demo works good :-) |
|
|
|
|
Nghi Le Registered Users
 Ventrian Addict Posts:69

 |
|
Déclic Vidéo Gold Membership
 Ventrian Master Posts:1355


 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:18567


 |
| 3/30/2008 5:40 AM |
|
| Adding it in the next build (probably out tomorrow). |
|
Scott McCulloch Site Administrator |
|
|