From kde-core-devel Wed May 30 14:54:52 2001 From: Henrik Johnson Date: Wed, 30 May 2001 14:54:52 +0000 To: kde-core-devel Subject: Re: local8Bit X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99123478619134 I had a software that couldn't load files in some czech codec whatnot=20 (I'm swedish so I have no idea what it was), and after added the line=20 below the file was decoded correctly using fromLocal8Bit(). So I'm=20 guessing this is what you are looking for. /Mauritz GlobeCom AB >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 5/30/01, 12:45:05 PM, Hans Petter Bieker wrote = regarding Re: local8Bit: > On Wed, 30 May 2001, Henrik Johnson wrote: > > Not having checked the source I think this line can solve it. > > > > Qapp->setDefaultCodec(QTextCodec::codecForName(getenv("LANG"))); > AFAIK is this the codec used by tr(), not local8Bit(). > Norwegian University of Science and Technology, Engineering Cybernetic= s > bieker@stud.ntnu.no / bieker@kde.org / +47 97651633 > Dagaliveien 25 A | Elgesetergate 23 B > N-0776 Oslo | N-7030 Trondheim > Siste nytt fra industrien finner du p=E5: WWW.Industri-Informasjon.N= O