I suspect that your problem is caused by your platform encoding. The evidence that I have is that Farsi works on a UTF-8 platform when written via the web interface, but does not work for you.
This StackExchange post suggests setting the Windows environment variable JAVA_TOOL_OPTIONS to "-Dfile.encoding=UTF8": http://stackoverflow.com/questions/9842134/setting-java-opts-globally-on-windows Please try setting this variable and reboot to restart the GeoServer service. This change should affect all Java on your system. I am not a Windows user, but there are others on this list who are and may be able to provide better advice for your Windows version. Kind regards, Ben. On 09/11/16 10:07, am2222 wrote: > Dear Ben, > Sorry for my late answer, > Well As you guessed I am on windows, But I have no idea how to find windows > encoding. Can you please let me know how to report it? > > I checked the title in geoserver and it is unreadable > <Title>ط¨ط§ظپطھ ظپط±ط³ظˆط¯ظ‡</Title> > in fact it must be > <Title>بافت فرسوده</Title> > But in legend it works and it is readable, > > org.png <http://osgeo-org.1560.x6.nabble.com/file/n5294891/org.png> > > Well, do you think problem is still because of windows encoding? I can > easily write Persian and Arabic with it. Is there any extra thing which I > must set up? > thanks -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
