[kde-linux] Encoding questions
Emanoil Kotsev
deloptes at yahoo.com
Fri Jun 13 21:15:05 UTC 2008
Hi,
> I noticed things looked a little strange (you mean the
> ˈ, which I guess
> are HTML "entities"?). For now, it's not too
> important to me--the objective
Yes important is that when C&P they are converted proeprly which is done transperently.
> is to actually display (and save) the text correctly, which
> I have a handle
> on how to do (I've changed the encoding for kate (I
> can't do that for nedit,
> afaict, because it doesn't support unicode, my first
> choice editor), and I'll
I'm using vi/vim and ne - they both support UTF/Unicode but are inflluenced by the locales the console is set to use.
export | grep LC
to check
> download some better fonts for display purposes).
there are different fonts for the console as far as I know. Because I see the square blocks in the console when it uses different fonts ... but if I set it to the one I know that has the glyphs it works fine. Though to me it is important that the applications know what chars to use ...
I mean a character is in fact a binary number ... so it's important that the string is encoded with the proper encoding and holds the right bytes. The other thing is the representation of the same, means the app should be able to decode the bytes and match them to the proper glyphs.
I was surprised to find out about wide characters and to manage conversions in C/C++ ... but this is another topic. Anyway I'm glad it worked for you
>
> > > > <span
> > > class="pronchars">\in-<span
> > > >
> > >
> class="unicode">ˈ</span>te-lə-jənt\</span>
> > > > </dd>
> > > >
> ;-), or really ;-(
It's definitely a smile, because life is the same - you have to know few things to be able to survive or achive a goal... and we know the chalanges coming with encoding and portability and we have to live with it. In fact the glibc seems to be very mature and flexible and I'm optimistic that in future everything will be using utf-*/unicode, so problems will get less but still an understanding helps a lot in any means.
regards
More information about the kde-linux
mailing list