+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / I need my alphabet

I need my alphabet

7 posts, 1 answered
  1. Henrik
    Henrik avatar
    7 posts
    Registered:
    07 May 2010
    18 Jun 2010
    Link to this post
    Hi,

    How can I create page names with neither spaces nor special characters? In Swedish å, ä and ö are not special characters. The file system supports them, the framework does, the cms supports utf-8 contents, browsers support utf-8 urls.

    Regards,
    Henrik
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    21 Jun 2010
    Link to this post
    Hello Henrik,

    I do not believe that this problem comes from Sitefinity. You could take a look at

    The specification for URLs (RFC 1738, Dec. '94) that  poses a problem, in that it limits the use of allowed characters in URLs to only a limited subset of the US-ASCII character set:

    "...Only alphanumeric [0-9a-zA-Z], the special characters "$-_.+!*'()," [not including the quotes - ed], and reserved characters used for their reserved purposes may be used unencoded within a URL."


    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Henrik
    Henrik avatar
    7 posts
    Registered:
    07 May 2010
    22 Jun 2010
    Link to this post
    Yes, of course, that was 1994.

    http://en.wikipedia.org/wiki/Internationalized_domain_name

    Afaik all current browsers support them.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    22 Jun 2010
    Link to this post
    Hi Henrik,

    Yes but this is for the TLD and this is controlled by ICANN. The article is valid only for the domain name.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Henrik
    Henrik avatar
    7 posts
    Registered:
    07 May 2010
    22 Jun 2010
    Link to this post
    Well, a domain name is a part of a url, isn't it? Surely then, a url can, unencoded contain non RFC 1738-specified characters? Furthermore, there's HttpUtility.UrlEncode, which you can use, (if you are afraid of the consequences of not encoding), which would encode the utf-8 characters with url-allowed characters.

    In order to test my theory and ensure I'm not rambling I just created a test-case:

    http://haf.se/%C3%A5%C3%A4%C3%B6.aspx

    or in non-encoded form: http://haf.se/åäö.aspx

    As you can see, there are no problems what so ever with having non ASCII-characters in the URL.

    Now, I consider this a bug of Sitefinity, don't you? If you choose to fix this bug, please don't encode the links; that's done by the browser and it would look bad with url-encoded links.
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    22 Jun 2010
    Link to this post
    Hello Henrik,

    This more of a functional limitation than a bug. In order the CMS to be able to use internationalized domain names it has to be developed to do so. So far we do not allow special characters in the urls, they have to be encoded. However we have implemented localizable URLs in our next major version of Sitefinity - Sitefinity 4.0. There you will be able to have urls in whichever language you want.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  7. Henrik
    Henrik avatar
    7 posts
    Registered:
    07 May 2010
    24 Jun 2010
    Link to this post
    Awesome.
Register for webinar
7 posts, 1 answered