[turba] language specific characters

Jan Schneider jan at horde.org
Sat Mar 1 18:50:14 PST 2003


Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Quoting Jan Schneider <jan at horde.org>:
> 
> > Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:
> >
> > >
> > > > The problem is, we just don't know what charset the imported data
> is
> > > in. So
> > > > there's no (or maybe a wrong) charset conversion of the data made.
> > > >
> > > > Jan.
> > >
> > > Would it be possible, or desirable, to add a selection box on the
> import
> > > form asking for a character set (with a default value)?
> >
> > That's the question. Do users know which charset their data is in?
> 
> Not most of the time, which is why we need a default value that is
> likely to be correct in at least a small majority of the cases.
> 
> > Where do
> > we get the charset list from
> 
> $nls['charsets'] since those are the only ones supported by Horde.

That's not true. We support all charsets that are supported by the
iconv/mbstring extensions.
 
> I would guess the best, but not easiest, way would to be to make
> the default charset configurable, or take it from
> $nls['defaults']['charset']
> at least.

I think the best default charset would be this one their selected language
originally has.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the turba mailing list