Skip to main content
Participant
October 27, 2009
Question

Coldfusion 8 breaking foreign language links

  • October 27, 2009
  • 1 reply
  • 647 views

We're working on a multilingual site, so some of the folder names have special characters, like umlats over letters, such as ä.

The OS is CentOS linux, and we're running CF8.

The folder names on the server appear just fine.  The link on the coldfusion page looks right in the status bar when hovering over it with a mouse, but clicking on it throws a file not found error and the link is shown garbled at the special character point.

Example - this link: /de/de/allgemeine-geschäftsbedingungen/

Comes out like this:

File not found: /de/de/allgemeine-geschäftsbedingungen/index.cfm

If I change the link to point to a .html file instead of a .cfm file - it works fine. So the webserver/file system are handling the characters ok. It's only when the links are processed through coldfusion that they go wrong.

The CF admin settings summary shows that it's using UTF8 encoding, which seems correct.

I'm lost as to what it will take to get these links to work properly without getting mangled.

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 27, 2009

    sorry but i think you're out of luck. i had thought this was going to be fixed

    in cf9 but same results on ubuntu 9.04 w/cf9.

    Participant
    October 27, 2009

    Just in case anybody else looks up this thread later -- I found a way to make this work.

    It's so simple, I'm ashamed that it took me this long to figure out.  Apache aliases.

    httpd.conf example:

    Alias /something/something/directory_with_ä /system/path/to/something/something/directory_with_a

    The links can contain the special characters, so they maintain their proper laguage, and the server works with normal characters, so the coldfusion doesn't break.

    Huzzah!