function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Russian characters in the pdf file is not displayed properly.

<apex:pagecontroller="myyController" extensions="Confirmation" action="{initConfirmation}" showHeader="false"

 sidebar="false" standardStylesheets="false" renderAs="pdf" contentType="utf-8">

    <apex:outputText value="{!cLetter}" escape="false"/>



Now the 'cLetter' variable has a letter written in russian language, When the pdf file is opened, the russian characters are not displayed.



Best Answer chosen by Admin (Salesforce Developers) 

From the developer guide:


If the PDF fails to display all the characters, adjust the fonts in your CSS to use a font that supports your needs. For example:

<apex:page renderas="pdf">
    <style> body { font-family: Arial Unicode MS; } </style> 
  This page is rendered as a PDF