lars at aronsson
Jan 27, 2003, 7:10 AM
Post #2 of 2
Andre Engels wrote:
> On the Dutch Wikipedia, we recently found a problem with the capitalisation:
> In Dutch, the combination 'ij' is often considered a single letter. As such,
> when a word like 'ijzer' (Iron) is capitalized, it will be written 'IJzer',
> 'Ijzer' looks very strange to Dutch eyes. Is there a way to tell this in the
> language file, so that it will have [[ijzer]] directed to [[IJzer]] rather
> than [[Ijzer]]?
This should be solved by PHP's ucfirst() function, if the right locale
is used. It should not be necessary to specify it in the language file.
The problem is not specific to Wikipedia.
My web hotel once had problems with Perl's ucfirst() that didn't
correctly capitalize the non-English letters (ö -> Ö, å -> Å), and
the root of that problem turned out to be they used the wrong version
of glibc (GNU standard C library) on the webserver. When they changed
to the right version of glibc, everything worked fine again.
Lars Aronsson (lars [at] aronsson)
http://aronsson.se/ http://elektrosmog.nu/ http://susning.nu/