[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Charset API for C++
- To: General Arabization Discussion <general at arabeyes dot org>
- Subject: Re: Charset API for C++
- From: Lemine Abdallahi <lemine dot abdallahi at wanadoo dot fr>
- Date: Mon, 20 Sep 2004 14:14:07 +0200
- User-agent: Mutt/1.5.6+20040818i
Sorry, a mistake occured
<correction>
This may be a very simple task, but I **think** it must be
"standardized" and "coded" at least for arabic software development to not reinvent the wheel everytime somebody starts a new software project.
</correction>
Regards,
LA
On Mon, Sep 20, 2004 at 02:05:54PM +0200, lam wrote:
> On Mon, Sep 20, 2004 at 03:48:35PM +0400, Mohammed Elzubeir wrote:
> > On Mon, 2004-09-20 at 14:31, lemine dot abdallahi at wanadoo dot fr wrote:
> > > Hi all,
> > >
> > > I'm working on a C++ project which deals with charset conversions. These
> > > conversions occur within the same language charsets ( Arabic, No need to
> > > have a very generic API).
> >
> > Character conversion (especially if it is as limited as you say you want
> > it to be) is not so complicated that you should require an extra library
> > just to do this for you. Have a look at iconv, take the parts that you
> > need and leave the rest alone -- or write your own. It's a pretty
> > straight-forward thing.
>
> Yes, what I need is not that complicated. As you said,
>
> I only want to be able to get any charset as input and to perform output in any other charset.
>
> But the most important is "the internal storage format". I know the answer
> is probably "unicode", but what c++ type is prefered for storing unicode
> strings.
>
> Are there any issues with 8 and 16 bit characters to deal with ? Is the
> storage format the same ? Can one use the standrad string types for this
> in a portable way ?
>
> This may be a very simple task, but I dont think it must be "standardized"
> and "coded" at least for arabic software development to not reinvent the
> wheel everytime somebody starts a new software project.
>
> regards,
>
> LA.
>
> >
> > Regards
> > --
> > -------------------------------------------------------
> > | Mohammed Elzubeir | Visit us at: |
> > | | http://www.arabeyes.org/ |
> > | Arabeyes Project | Homepage: |
> > | Unix the 'right' way | http://elzubeir.fakkir.net/ |
> > -------------------------------------------------------
> >
>
>
>
> > _______________________________________________
> > General mailing list
> > General at arabeyes dot org
> > http://lists.arabeyes.org/mailman/listinfo/general