Re: [pcre-dev] 16-bit pcre_version() and error messages?

Startseite
Nachricht löschen
Autor: Zoltán Herczeg
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] 16-bit pcre_version() and error messages?
Hi,

>> Right now pcre16_version() and 16-bit PCRE error messages are all 8-bit.
>
> Do you plan to change these to 16-bit?


No. There is no nice way to define 16 bit strings.

const char *str = "String"
converted to
const pcre_uchar str[] = { PCRE_S, PCRE_t, PCRE_r, PCRE_i, PCRE_n, PCRE_g, 0 };

This is the only compiler safe way we are aware of. We did the conversion when necessary, but error messages are just too much hassle...

> > If not, which encoding are they in? Is ASCII guaranteed?


Yes, plain ASCII English strings. I don't think localization ever planned.

Regards,
Zoltan