SMF Support > SMF 2.0.x Support

index.english-utf8.php is missing

<< < (2/8) > >>

K@:

--- Quote from: frakme on March 23, 2012, 07:19:49 PM ---foreign characters are still not showing.

--- End quote ---

Thinking logically, the foreign characters won't show, because, by definition, they're not... er... English! ;)

So, one would surmise that you need the language packs for those other languages, no?

Those well-hidden language packs are here:

http://download.simplemachines.org/?smflanguages

Edit: Thinking further on it, and after a nudge from Kermit (Ta, Kermit) ;) what actual characters do you mean, exactly?

I was thinking of umlauts and that kinda thing, which we English just don't have. But, of course, we have words like "Café" that have accents, although most of us are too lazy to use 'em. ;)

frakme:

--- Quote ---Thinking logically, the foreign characters won't show, because, by definition, they're not... er... English!
--- End quote ---

To respond logically, they showed without issue until the upgrade to smf 2.02. We only had english UTF8 installed, both on the SMF control panel and on the host in our php files, when it was using the 1.14 version. This is the reason for my initial post. Even though the forum itself is in English,  we have members that often insert character language into their story posts, so we have always used UTF8 instead of basic english.


--- Quote ---Are you sure,that all english-UTF-8 language files have been replaced properly ? I don't have much idea about this UTF-8 thing,but the problem is mostly,that languages files are not completely in UTF-8 format
--- End quote ---

If by properly, you mean the suddenly missing utf8 files are now placed in the appropriate folders on the host? Then yes. They are located in the themes/default/languages file. If you mean something else, then I won't know unless you explain step by step.


--- Quote ---Edit: Thinking further on it, and after a nudge from Kermit (Ta, Kermit)  what actual characters do you mean, exactly?
--- End quote ---


Yes, that is correct. Any foreign character with any kind of non typical character is appearing as (I think) something that looks like latin.  Někdy jsou lidé kreténi. Život někdy je sračky. becomes Někdy jsou lidé kreténi. Život někdy je sračky. Again, please note that the correct form is shown in the  post or modify post box but  if you hit the post button/preview button the character issue appears.

The above is Czech and upon the above advice, I installed the czech utf8 files on the server, in the appropriate file just to check. Nothing has changed.

K@:
Just a hunch, this.

Try going to Admin>Languages>Add Language and search.

frakme:

--- Quote ---Try going to Admin>Languages>Add Language and search.
--- End quote ---

When I uploaded the language files to the server, host-side, the SMF admin language panel automatically added the czech language options, both standard and UTF8. However, it did not fix the character issue within the posts.


The only thing it does (which is what it is meant to do) is change the entire forum to Czech when I select that radio button. The characters on the rest of the forum do appear correct. For example on the admin menu, any forum menu or button a č remains a č.  However, inside the posts the errors still occur. Latin-esque characters replace the Czech characters (or any other language except standard English).


Edit: I am working off the default smf theme to ensure this isn't just a language issue specific to our custom themes. I contacted the custom theme creator who verified his theme is supports multiple languages.

frakme:
Scratch what I said about the czech utf8 files doing anything.

The individual language utf8 files being installed do not actually have anything to do with the other parts of the forum to work correctly. I just tested by adding menu buttons via the subs.php file as well as using foreign language in other parts of the global template and those ares show the characters correctly. I tested in german, hebrew, arabic, greek, romanian, latvian, urdu and turkish and I do not have those individual utf8 language files installed anywhere in my server side files or on the SMF language panel.  The only issue that remains is in the post and preview areas. Those two areas display the characters incorrectly. How is that possible that the characters work in some areas of the site but not others? Does that help clarify the database rather than any smf php files is the culprit?

Again, any help is appreciated. This is a creative arts/hobby forum and without the ability to post their work and writings, it really doesn't serve its purpose.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version