Changing charset code

Permalink
Is it possible to set charset code as I want?

I tried to set charset as the following in my theme I built on my own:

<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

However, when I looked over the source of site made from that theme, the following line was used for charset code.

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

If there is a way, please let me know.

 
katz515 replied on at Permalink Reply
katz515
Hi Kenichi-san.

Since concrete5 is processed in UTF-8 internally, I don't recommend to use Shift_JIS.
kenichi replied on at Permalink Reply
Hi katz515-san.

Thank you for your reply.

I see...
I've got this question because the theme I built from the HTML file in which Shift_JIS was used has partially some mojibake.

IF possible, I would like to use Shift JIS so that I can export html from the site built in C5 and use it for a normal site easily.
katz515 replied on at Permalink Reply
katz515
concrete5 Japan team will only support UTF-8 as the default character sets like any other CMSs, like Xoops Cube, Geeklog and Joomla.

Because UTF-8 can contain other languages without any modification, we won't have to spend time modifying a lot.

I'm making my other normal sites using UTF-8 including Keitai site.

Anyway here is the step I will do....

1. Look thought all concrete5 source to make sure where they treat UTF8 code and change them to Shift_JIS
2. If you already have database, convert the database to Shift_JIS or install a clean copy of modified concrete5
kenichi replied on at Permalink Reply
I am planing on taking a peculiar process in order to update the content of the existing site created without CMS.

The following are the steps I was expecting.

First, creating the C5 site based on the theme built from the existing site with Shift-JIS.

Then, editing not all text but some of them in C5.
At the time, I would like to embed text supposed to be kept intact into the theme.
I mean that I make not all content areas editable but some of them.

At last, exporting HTML in order to use that for the actual site.

However, if I cannot set language codes for every site.

Probably it's not good way to implement I think.

Anyway, thanks a lot!