| Author |
Message |
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: Special caracters |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 24, 2005 7:31 am Post subject: Re: Special caracters |
|
|
try changing the encoding scheme at the top of:
nuke-root/language/lang-<yourlanguage>.php
You will need to change:
define("_CHARSET","ISO-8859-1");
to
define("_CHARSET","UTF-8");
and in
nuke-root/modules/Forums/language/lang-<yourlanguage>.php
you'll have to do the same. |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Wed Aug 24, 2005 7:40 am Post subject: Re: Special caracters |
|
|
dari wrote: › try changing the encoding scheme at the top of:
nuke-root/language/lang-<yourlanguage>.php
You will need to change:
define("_CHARSET","ISO-8859-1");
to
define("_CHARSET","UTF-8");
and in
nuke-root/modules/Forums/language/lang-<yourlanguage>.php
you'll have to do the same.
Hi dari,
I changed in
C:\srv\www\Nuke75\html\modules\Forums\language\lang-english.php
C:\srv\www\Nuke75\html\language\lang-english.php
C:\srv\www\Nuke75\html\language\lang-german.php
Section of my language-file :
/*define("_CHARSET","ISO-8859-1");*/
define("_CHARSET","UTF-8");
define("_SEARCH","Search");
and I had no sucess.
This is the result in my NEWS Block in the middle of the page
----------------------------------------------------------------------
Willkommen ...
֠= OE Ġ= AE ߠ= SZ ܢel , Ħfeln User : gast Pw : gastuser
------------------------------------------------------------------------
The output is fine, when I remove the G2 Photoblock which shows random photos, from the webpage.
Last edited by fulbrich on Thu Aug 25, 2005 1:31 am; edited 1 time in total |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 24, 2005 7:59 am Post subject: Re: Special caracters |
|
|
| you might want to google around for methods of fixing this. i don't know of any others off the top of my head, and since my site is all english, i can't really test it here. i'd also suggest getting a petition, or something like that, sent to the developer of phpnuke requesting that he change the default charset to UTF-8. |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Wed Aug 24, 2005 8:46 am Post subject: Re: Special caracters |
|
|
Hi *
my next step is to convert the mySQL NUKE Database to UTF-8.
This may be a hint: http://cpgnuke.com/FAQ/cat=14.html#52 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 24, 2005 9:06 am Post subject: Re: Special caracters |
|
|
please let us know if this works, this would make lots of people happy  |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Thu Aug 25, 2005 1:25 am Post subject: Re: Special caracters |
|
|
Hi Dari,
I tested the databaseconversion of PHP-Nuke 7.5 last night. It seems to work. Let me have some more testing and I'll write a little summary about this in the evening.
What I did :
I changed some lang-files in PHP-NUKE.
I created a new database with UTF-8 settings.
I exported the old data into a sql skript.
I converted the data with iconv.exe from latin to UTF-8.
I created the new tables with contence by using the modified sql skript in the new database.
What happened :
I changed the collation of the database, but not for each table and imported the converted data. It works, but I am not shure if this way is ok. Has each table collation to be converted, too ?
Bye Frank |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 25, 2005 6:17 am Post subject: Re: Special caracters |
|
|
it's the best we've got so far...keep up the good work and keep us filled in  |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 25, 2005 6:39 am Post subject: Re: Special caracters |
|
|
| actually, if you email it to me: dari AT nukedgallery DOT net, I can convert to PDF and post it up here if you'd like. |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Mon Aug 29, 2005 2:23 am Post subject: Re: Special caracters |
|
|
Hello,
I did some more testings and found out, that this isn't a 100% solution. It is hard to say.... I have to go to Dragonfly (php-nuke version) or to copperfield. To be honest I am little bit disappointed.
I need national Characters on my website. Maybe I have to change the characters in the language-files to UTF Code, too ?
Last edited by fulbrich on Mon Aug 29, 2005 6:45 am; edited 1 time in total |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 29, 2005 6:40 am Post subject: Re: Special caracters |
|
|
| yes, the language files for phpnuke would have to be converted to UTF-8, as well. |
|
| Back to top |
|
|
fulbrich
Novice


Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Wed Aug 31, 2005 1:12 am Post subject: Re: Special caracters |
|
|
dari wrote: › yes, the language files for phpnuke would have to be converted to UTF-8, as well.
Hi gari,
I think everything is fine, now. I substituted all national characters ÄäÜö ... in the language-german.php files. There is now no problem anymore with displaying this characters with gallery2 embedded. I updated my howto and sent it to you with PM (version 1.3). Maybe you like to upload it to your site. |
|
| Back to top |
|
|
|
|
|
|
|