# Turkish characters to uppercase

I can't make uppercase of turkish characters like Giriş Tex converts it to GIRIş instead of GİRİŞ.. It's making me crazy.

%this is mwe i guess
\documentclass[12pt,a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage{titlesec}

\usepackage[T1]{fontenc}
\usepackage[turkish]{babel}
\usepackage{pslatex}
\begin{document}
\uppercase{Giriş}
\end{document}

-
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  egreg Apr 15 '12 at 16:25

It's a deficiency in the setup by babel:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[turkish]{babel}

\uccodei=\string"9D \uccode\string"19 = I
\lccode\string"9D=i \lccodeI=\string"19 }
\uccodei=I \lccodeI=i }

\begin{document}
\MakeUppercase{Giriş}

\MakeLowercase{GİRİŞ}
\end{document}


It's better to do it this way instead of globally changing the tables.

In the T1 encoding the character "dotless i" is at position "19 and "dotted I" is at "9D.

-
my bad, sorry. great answer. even it would be great if someone put this some kind of faq. –  interlude Apr 15 '12 at 16:44
@interlude This should really be addressed by fixing babel. –  egreg Apr 15 '12 at 16:44
edited the comment. thank you very much –  interlude Apr 15 '12 at 16:45