After some help from hakre, I was able to solve my problem.
My strings were already transliterated when I select
ed them from the database. PHP
's oci_connect()
fourth parameter is character set. If you don't provide it, it is taken from environment variable NLS_LANG
.
I had neither fourth parameter nor environment variable, so my database connection charset was wrong. Once I added NLS_LANG
variable it started to work fine.
Thank you hakre! : )