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}


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. Apr 15, 2012 at 16:44
• @interlude This should really be addressed by fixing babel. Apr 15, 2012 at 16:44
• Note: the problem has long been solved: with version 1.3a of turkish.ldf, released 2014-01-14, the correspondence between uppercase and lowercase letters has been fixed. Jan 2, 2018 at 12:19