This puzzles me too. The definition for the long s is in uni-1.def:
\uc@dclc{383}{autogenerated}{\unichar{115}}%
but it's not clear to me where the autogenerated option is supposed to go.
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
This is a long `ſ'
\end{document}
gives me the error below, and typing 'h' does indeed tell me that it needs the autogenerated option:
! Package ucs Error: Unknown Unicode character 383 = U+017F,(ucs) possibly declared in uni-1.def.
(ucs) Type H to see if it is available with options.See the ucs package documentation for explanation.
Type H <return> for immediate help....
l.6 This is a long `ſ
'? h
Unicode character 383 = U+017F:LATIN SMALL LETTER LONG S
Character available with following options: autogenerated.
Enter I!<RET> to define the glyph.? So if I add (as a new line 2 in my file)
\usepackage[autogenerated]{ucs}
(because utf8x preloads ucs, so putting this before it makes it preload with the autogenerated option). This now runs without error, but creates a PDF with the normal lowercase curly 's' instead.
I think this needs the expertise of comp.text.tex
///Peter