| Author |
Topic Search Topic Options
|
Diyko
Newbie
Joined: 20 January 2011
Location: Manchester
Status: Offline
Points: 14
|
Post Options
Thanks(0)
Quote Reply
Topic: Displaying Other Languages Posted: 25 March 2011 at 11:15am |
Is it possible to have a mix of Languages on the Newsletter. I have a request to have a set of Newsletters in an English Category and and a corresponding Set in Ukrainian. Ukrainian uses a Cyrllic font set. I have tried creating a Newsletter in Ukraininan and I can insert the characters into the editor, however when I save and view the newsletter I just get a lot of strange characters (well stranger than Ukrainina characters that is!!). Any Ideas. Thanks
|
 |
Diyko
Newbie
Joined: 20 January 2011
Location: Manchester
Status: Offline
Points: 14
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 March 2011 at 8:58pm |
Upon further testing I found that if I manually insert the Ukrainian text into the database field using unicode, then the text appears correctly. However if I were to edit the same newsletter the text appear as a set of ??????? on screen. If I try and insert the ukrainian text in the editor it displays OK and previews fine, however when it is saved the text gets corrupted. Is this a bug? Thanks
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2011 at 9:12am |
This is not a bug but to do with page encoding as different languages require different page encoding.
You can edit the includes/browser.asp file and change the page encoding to one that supports Ukrainian.
|
|
|
 |
Diyko
Newbie
Joined: 20 January 2011
Location: Manchester
Status: Offline
Points: 14
|
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2011 at 12:53pm |
I have tried all of the cyrillic page encodings and none of them display the text correctly. I even tried adding the code koi8-u which was not in the browser_page_encoding.asp file, this also did not work. When I use anything but utf-8 the existing Ukrainian text which forms the navigation and headers becomes corrupted.
The following link shows how the same text that I copied from the Ukrainian text in the header shows up in the newspad after saving. http://www.plast.org.ukewspadewsletter.asp?article=1 - http://www.plast.org.uk/newspad/newsletter.asp?article=1
It seems that utf-8 works fine for the Ukrainian text I'm using in the rest of the site, just not able to display in the newsletters.
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2011 at 1:35pm |
|
Have you tried just running the newspad as a separate thing, because at the moment, you have it wrapped inside the site itself, which could be the reason why you are unable to change the coding in the newspad software, without then affecting the rest of the site.
What I would suggest is run it as a separate thing (no wrap) and see what then happens with the language display of characters
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2011 at 2:06pm |
The content needs to be saved in the correct encoding.
This means that you need to first change the encoding to UTF-8 then submit the newsletter in NewsPad so that it is saved to the database in UTF-8 encoding.
|
|
|
 |
Diyko
Newbie
Joined: 20 January 2011
Location: Manchester
Status: Offline
Points: 14
|
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2011 at 10:55pm |
I've tried the same thing on a brand new installation of Newspad and the text displays correctly. So it seems that the site i've embedded it in is interfering with the page encoding. I will investigate. Thanks for your help.
|
 |
Martin Falck
Newbie
Joined: 21 March 2006
Location: Denmark
Status: Offline
Points: 39
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 July 2011 at 8:38am |
|
Hello I just bought newspad, but I have a problem I'm Danish and I therefore use a Western European iso-8859-1, this I have also chosen in NewsPad Settings, the letters look right, but inside when I look at newspad categories, "admin_configure_category.asp "written there is still no æøå but instead: gøre
|
 |