Herpes encephalitis is not a sexually transmitted disease per se. Since you must have herpes to have herpes encephalitis, depending on how a person obtained the herpes virus, the result of it may be due to a sexual nature. See related link for more information.