<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hello,</div>
<div>&nbsp;</div>
<div>I am new to antlr.&nbsp; I have a peculiar problem working with special characters in my grammar.</div>
<div>&nbsp;</div>
<div>I have some special characters to be parsed by my grammar. </div>
<div>&nbsp;</div>
<div>I am getting an error like &quot;<font face="Courier New" color="#FF0000">line 18685:2 no viable alternative at character 'Ü'</font>&quot;. Which I assume is because my parser is unable to identify the special character.&nbsp; I came to know that I have to specify charVocabulary
in my options block of the grammar. But that didn&#8217;t work.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Can you please help me with this.. I am using Antlr v3 -- Java.</div>
<div>&nbsp;</div>
<div>Thanks and Regards</div>
<div>Raghavendra</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</font>
</body>
</html>