Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
I am not shure if you call them extended characters, but nevertheless. wink These are the ones I mean;


åäö ÅÄÖ turn up to be distorted like åäö ÅÄÖ in the preview window, but once posted they look fine.

Any ideas?

I am still running an inferior version of Mysql, but will soon upgrade. May this fact affect the phenomena?

Last edited by Rick; 12/01/2006 5:14 PM.
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
Confirmed. German umlaute öäü ß ÖÄÜ broken here in the preview
Attachments
232-Capture-1.jpg

Last edited by Zarzal; 11/27/2006 7:15 PM.

my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
This SHOULD be fixed in 7.0.2 as an AJAX issue


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I think we're going to have to switch the content type for the ajax scripts to UTF-8. This seems to fix it, but needs testing.

If you'd like to test on your install just change scripts/previewpost.inc.php. Line 79 looks like this:

header("Content-Type: text/html; charset={$ubbt_lang['CHARSET']}");

Change that, to this:

header("Content-Type: text/html; charset=UTF-8");

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
This work for me on my board in FireFox2.0 and IE6.01


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
Thanks! I made the suggested change in scripts/previewpost.inc.php and the problem was gone.

Å i åa ä e ö (Deep hillbilly Swedish for "And in the river there is a island") wink

Last edited by MartinBe; 11/28/2006 1:47 PM.
Joined: Jun 2006
Posts: 162
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 162
Rick, that finally fixed the preview problem for me also. Thanks!


##eek##
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, it sounds unanimous then. It looks like we'll be making this change for 7.1.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Not sure if this is related...

I often copy/paste the double-arrows from Control Panel into posts, like this:

Control Panel » Forum Settings

When I Preview post, it NOW looks like this (here):

Control Panel » Forum Settings

Altho it displays fine when I actually post it.

And interestingly, when I Preview the second one, with the  in it, it displays this even more crazy in

Control Panel » Forum Settings

(Click Quote and then Preview to see what I mean)

My 7.0 board is fine.


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Well I've noticed even in 6.5.1 Threads that the POST vs PREVIEW do not always view/post the same look.

Curious why that happens. Why doesn't Preview have the exact same view as a Post does every time?



Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 803 guests, and 448 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)