Table "Node" Field "language"

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
superjacent's picture

Drupal 6.x. Table "node".

What should the value of the "language" field be if the displayed text is Chinese.

If a value is required, are there any other things that need to be done so that Chinese symbols are correctly displayed.

Any help appreciated.

Steve
http://prime357.org

ps. I've got a thread running at my site which I think this may be a part issue to it. As you can imagine it's becoming very confusing as all I see is either unicode or Chinese symbols (can't read Chinese).

Comments

It seems like the language

superjacent's picture

It seems like the language field of the node table has no bearing on whether Chinese symbols are displayed or not. The reason for the question in the first place no longer stands as my user from China is now happily modifying his new site (http://doexcel.com) which was converted from Wordpress 2.5.

The problem surrounded an issue with Wordpress 2.3, it was encoded as Latin. User updating to Wordpress 2.5, which is encoded as utf8 and then converted, all went smoothly.

I'd still like to know the purpose of the language field, if any.

Steven Taylor
Melbourne Australia
http://prime357.org

Steven Taylor
Melbourne Australia
http://prime357.net

Translation

intchanter's picture

I believe it's mostly there to facilitate translation. On a multilingual site, you can install modules that allow particular users to create alternate versions of a node in other languages.

Some examples are the Translation and Active Translation modules.

Thanks

superjacent's picture

Thanks

Steven Taylor
Melbourne Australia
http://prime357.org

Steven Taylor
Melbourne Australia
http://prime357.net

displaying Chinese

jredding's picture

Drupal stores in UTF-8 so there is no problem with storing and displaying Chinese characters with Drupal. The difference however is if the user's browser/OS correctly interprets that but that's not a problem you can solve.

Intchanter is correct about the language settings.

in other words, you don't need to do anything to display Chinese characters in Drupal.

-Jacob Redding

-Jacob Redding

Australia

Group categories

Location

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: