SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot boognish's Avatar
    Join Date
    Sep 2005
    Location
    Leeds
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Foreign characters in the url help

    I am switching hosting companies from justhost to vidahost. I have a site with foreign characters in the file names and folders. When I upload them to my justhost hosting they appear fine in the browser address bar, like they do here...

    http://en.wiktionary.org/wiki/auslšndisch

    However, when I upload to Vidahost hosting, the only way they can be handled is by encoding the special 'š' character, for example...
    en.wiktionary.org/wiki/ausl%C3%A4ndisch

    I can also see the difference in cpanels file manager, at justhost the foreign characters in the file and folder listings display correctly, where as at vidahost the special characters are replaced with '�' in cpanels file manager.

    On a side note, all my files are encoded in utf8.

    I'm pretty sure this is an Apache server setting. I'm trying to explain this to vidahost, but I'm not getting very far.

    Can anyone shed any light on this?

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,656
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    boognish,

    The server's language is, indeed, established by the httpd.conf. I've checked my test server (Apache 2.2 on a Win7 box) and it shows that the languages the server will use has been split off the httpd.conf into

    Code:
    # Language settings
    #Include conf/extra/httpd-languages.conf
    The languages file contains lines like:

    Code:
    ...
    AddLanguage sv .sv
    ...
    
    # and
    
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
    IMHO, Vidahost is not providing you the service you're paying for so you may wish to consider the folks at WebHostingBuzz (in the UK?). I'm not sure whether they have or will configure multi-language shared servers but I'm sure that they will do so for VPS and dedicated servers. Use their ticket system to ask (or PM mattrussell - he's in the SitePoint boards frequently) to be sure.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •