ekpindi / openconcerto

Automatically exported from code.google.com/p/openconcerto
0 stars 0 forks source link

Charactère invalide dans le code OpenConcerto #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Bonjour

Ce code svn/trunk/OpenConcerto ne compile pas sous Eclipse avec le JDk 1.6.0_30

dans ESCSerialPrinter.java @142 :  if (c == 'é') {

dans Matric.java@162            :  sb.append('…')

dans TicketCellRenderer.java@98 :   s2 = s2.substring(0, maxLength + 1) + 
'…';

Invalid character constant

Des valeurs hexadécimales seraient plus appropriées à mon avis.

Cdlt

Original issue reported on code.google.com by Francis....@gmail.com on 11 Feb 2012 at 9:58

GoogleCodeExporter commented 8 years ago
Oups erreur de ma part... le codepage du projet Eclipse était en cp1252 que 
j'ai remis à UTF-8. 
Merci d'invalider ou supprimer cette issue.
Cdlt

Original comment by Francis....@gmail.com on 11 Feb 2012 at 4:24

GoogleCodeExporter commented 8 years ago
Effectivement, il faut configurer votre Eclipse en UTF8 ;)

Original comment by guillaum...@gmail.com on 24 Feb 2012 at 7:29