If I set the HTML document charset to UTF-8, the database encoding to UTF-8, and pass UTF-8 as charset to various PHP functions, will that make my site be able to handle any language?
It will be able to handle any language covered by Unicode, but not ones such as tlhIngan Hol or Sindarin.