From: Christian B. <cb...@si...> - 2010-10-26 15:33:53
|
Hi Inge, Can you try using the latest rlib from CVS and configure it using the --enable-utf8 flag? I will be trying your example myself as soon as I can. We have actually been working various i18n features lately and are serious about getting this working for you. Christian On Tue, Oct 26, 2010 at 11:13 AM, Inge Raes <ing...@ar...> wrote: > Dear Christian, > > I am running into another problem now .... we are facing a problem when > displaying Greek characters in pdf reports. Below you can see a snippet of > the code that we use and in attachement you can see a screenshot with the > signs that we notice instead of the Greek characters: > > We really appreciate your help and if you need more information, let us > know. > > thanks and regards, > Inge > > > if(language == REPORT_LANGUAGE_EL) { > //========== set locale =======// > rlib_set_locale(r, "el_GR.utf8"); > rlib_set_output_encoding(r, "ISO-8859-7"); > // ALSO TRIED rlib_set_output_encoding(r, "UTF-8"); > > //========== add greek parameters =======// > rlib_add_parameter(r, "title", "Αναφορά δωροεπιταγών"); > rlib_add_parameter(r, "storecode", "Κωδικός καταστήματος"); > rlib_add_parameter(r, "storename", "Όνομα καταστήματος"); > rlib_add_parameter(r, "voucherid", "Αριθμός"); > rlib_add_parameter(r, "vouchervalue", "Τιμή"); > rlib_add_parameter(r, "voucherauthcode", "Αρ. έγκρισης"); > rlib_add_parameter(r, "vouchercreatetime", "Ώρα δημιουργίας"); > rlib_add_parameter(r, "voucherprinttime", "Ώρα εκτύπωσης"); > rlib_add_parameter(r, "page", "Σελίδα"); > rlib_add_parameter(r, "period", "Περίοδος"); > rlib_add_parameter(r, "periodfrom", "από"); > rlib_add_parameter(r, "periodto", "μέχρι"); > > } > > On 10/09/2010 16:08, Christian Betz wrote: > > Hi, > > Can you show us the following? > > (a) the code where you set the locale in rlib > (b) the XML snippet that defines the field > > Also, are you using the CVS version of rlib or one that you downloaded? > And finally, what platform are you on? > > Christian > > > On Thu, Sep 9, 2010 at 5:24 AM, Inge Raes <ing...@ar...> wrote: > >> Hi, >> I am wondering how I can get the amount to display in european format. >> (comma for decimal seperator instead of a decimal point) >> In the code the locale has been set correctly, but I still see the >> decimal point in my amount instead of a comma. >> I wanted to change my format in the xml definition but I don't see how I >> can do it. >> many thanks! Inge >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Rlib-devel mailing list >> Rli...@li... >> https://lists.sourceforge.net/lists/listinfo/rlib-devel >> > > > |