Description: add support for European 8-bit character sets
Author: Jens Getreu <getreu@web.de>
Bug-Debian: https://bugs.debian.org/229364
Bug-Ubuntu: https://launchpad.net/bugs/626271
Last-Update: 2017-05-10

--- java2html-0.9.2.orig/java2html.l
+++ java2html-0.9.2/java2html.l
@@ -42,7 +42,7 @@ unsigned int oldstate = 0;
 %s DEFINELINE
 %s PREPROLINE
 
-id [a-zA-Z_][a-zA-Z01-9_]*
+id [a-zA-Z_\xa0-\xff][a-zA-Z01-9\xa0-\xff]*
 wsnl [\t \n]*
 ws   [\t ]*
 accessmode ("public"|"private"|"protected")
--- java2html-0.9.2.orig/mymain.c
+++ java2html-0.9.2/mymain.c
@@ -552,6 +552,7 @@ AddLabelForFunction(FILE *out, char *tex
   while (((('A' <= *start_ptr) && ('Z' >= *start_ptr))
 	  || (('a' <= *start_ptr) && ('z' >= *start_ptr))
 	  || (('0' <= *start_ptr) && ('9' >= *start_ptr))
+	  || (('\xa0' <= *start_ptr) && ('\xff' >= *start_ptr))
 	  || ('_' == *start_ptr))
 	 && (start_ptr != text))
     { start_ptr--; }
@@ -582,6 +583,7 @@ AddLabelForClass(FILE *out, char *text)
   while (((('A' <= *end_ptr) && ('Z' >= *end_ptr))
 	      || (('a' <= *end_ptr) && ('z' >= *end_ptr))
 	  || (('0' <= *end_ptr) && ('9' >= *end_ptr))
+	  || (('\xa0' <= *end_ptr) && ('\xff' >= *end_ptr))
 	  || ('_' == *end_ptr)))
     { end_ptr++; }
   AddLabelTag(out, start_ptr, end_ptr);
@@ -610,6 +612,7 @@ AddLabelForStruct(FILE *out, char *text)
   while (((('A' <= *end_ptr) && ('Z' >= *end_ptr))
 	  || (('a' <= *end_ptr) && ('z' >= *end_ptr))
 	  || (('0' <= *end_ptr) && ('9' >= *end_ptr))
+	  || (('\xa0' <= *end_ptr) && ('\xff' >= *end_ptr))
 	  || ('_' == *end_ptr)))
     { end_ptr++; }
   AddLabelTag(out, start_ptr, end_ptr);
