%%%%%%%%%%%%%%%%%%%%%%%%%%% utf8.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% utf8.sty
% Scanner for UTF-8 Code 
% to install it, include it as a LaTeX package or style option "utf8"
% with Plain TeX, say "\input utf8.sty"
% to activate it, say "\setcode {utf8}" 
% 13.06.2000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
%     Institut fuer Informatik
%     Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifx \utfatcode \undefined \else \expandafter \endinput
\fi % load only once

\chardef \utfatcode = \catcode`\@  \catcode`\@ = 11

\UsePackage {utfcode}

\a@ident {utf8.sty} {3.10 UTF-8 input encoding } {13.06.2000}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\gdef \set@utfc {% select the UTF-8 scanner
\global\let \a@scan \utfc@scan   
\global\def \sc@beg {\utf@beg }%
\global\def \sc@word {\utf@word }%
\global\a@digits = {0123456789}%
\global\a@first = {Ö×ØÙÚÛ}%
\catcode `  11
\a@message {input encoding set to UTF-8 conventions}}

\xpa \def \xpa \sc@table \xpa {\sc@table % add the UTF-8 encoding
utf-8\set@utfc   utf8\set@utfc	}

\a@message {scanner for code UTF-8 installed.}

\catcode `\@ = \utfatcode
\endinput
%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

