Windows-1251 codepage

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
Posts: 1
Joined: Fri Jan 07, 2022 5:01 am

Windows-1251 codepage

Post by Recomserv » Fri Jan 07, 2022 5:13 am

Hi guys! Thank you for this simple and effective CMS!
I have a question. I am making a website for Palm OS-based devices. PalmOS doesn't know any about UTF8, and I need Windows-1251 codepage on my website. I was trying to change codepage in International settings, but it doesn't work. Any Cyrillic characters look incorrect.
In which files do I need to change codepage UTF8 codepage to any other old codepages?
Thank you for your help!

User avatar
FlatPress Coder
Posts: 386
Joined: Sat Jan 26, 2019 7:40 pm

Re: Windows-1251 codepage

Post by Arvid » Sat Jan 15, 2022 2:10 pm

Hi and welcome to FlatPress :)

I assume you set the "Character set" option to "windows-1252"?
The template header.tpl of the theme you are using (which one is it?) should then set this into the HTML source code of your blog. In Leggero, the default theme, header.tpl looks like this:

Code: Select all

<!DOCTYPE html>
<html xmlns="" lang="{$fp_config.locale.lang}">
	<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href=',700italic,400,700' rel='stylesheet' type='text/css'/>
	{action hook=wp_head}
The {$flatpress.charset} placeholder is being replaced with the value of the "Character set" option you entered, is this working on your blog (check your site's source code in the browser)?

All the best,

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests