RE:CINT has problems with accents

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Thu Oct 22 1998 - 13:04:00 MEST


Bonjour Mathieu et Rene,

Due to lack of European character support on my PC, I could not receive
accents character.

Cint accepts following character sets, but not others.

   US ASCII
   EUC Japan
   Shift JIS DOS (Japanese)

I have no means to test European characters. I guess it does not work because
character code of accents is same as lead byte of multi-byte EUC or SJIS Japan
character. Cint needs to read next byte anyway. Please workaround by adding
extra character after the European characters.

Masaharu Goto

----------------------------------------------------------------
Bonjour Rene,

  comme convenu, voici la description du probleme avec les accents

Une classe toute bete, je mets dans le mail \'e pour indiquer une lettre
accentuee
-------------------------
Fichier essai.h
-------------------------

#include <TROOT.h>

class TMyClass :public TObject {
public:
  int i; // Variable 
  ClassDef(TMyClass,0)  // Objet deriv\'e
};


polcat1:~/tmp% rootcint -f essai.cpp essai.h
Error: Unexpected EOF G__exec_statement() FILE:essai.h LINE:13
Advice: You may need to use +P or -p option


Si j'enleve l'accent, tout se passe bien.

De meme, si je mets un espace apres la lettre accentuee, ca va.
rootcint ne se plante que si le DERNIER caractere du commentaire est
accentue.

        Mathieu de Naurois



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET