Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Special Characrters
Date: 2006/03/07 08:13 By: ewieder Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Hi!

I'm using CB in Hebrew enviroment, and there's a preety good translation. I had some problems in few places with the special characters, but fixed it by fetching the htmlentities() functions and changing it to htmlspecialchars().

The one place I couldn't figure out is this:
When a user wants to add another as a connection, opens a window for him to write a message. this message goes to the connected user as a PM. The text the user wrote in this message appears in bad characters (not special characters).

In any other place the PMS works fine with the special characters, including when a user uses the PMS panel in another user's profile to send a message, or when he clicks the PM button in his connections thingie.

I could not find any more htmlentities() function in the cb.menu.php file, that seems to handle this message form. I guess it's in another .js file or something like that, but I cannot find it.

Does anyone know anything about that? did anyone fix that in the past?

Thanks!
Click here to see the profile of this user The topic has been locked.

Re:Special Characrters
Date: 2006/03/13 16:46 By: beat Status: Admin  
Karma: 239  
Admin

Posts: 3824
graphgraph
What character-set are you using ? UTF-8 or 8859-? ?

How do these pmses appear ?

Edit:

also which PMS system do you use ?

It looks to me that it's the PMS system which does not handle correctly the charset you are using in your template/ joomla language file.

Post edited by: beat, at: 2006/03/14 00:04
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The topic has been locked.

Re:Special Characrters
Date: 2006/05/17 06:11 By: Tedi Status: User  
Karma: 3  
Junior Joomlapolitan

Posts: 29
graphgraph
Hi,

It is happening something similar in our web. I translated the CB 1.0 stable language file to spanish using UTF-8 enconding. It is working OK in most of CB, but there are several cases where the enconding is not translated, it just remains as (á é ...). These cases are:
- Popup menus in the connections.
- PMS sent by the connections.
- Emails sent by the connections.

The template is using iso-8859-1 and we use myPMS II 2.1 Beta

Any clue?

Thanks,
Tedi
Click here to see the profile of this user The topic has been locked.

Re:Special Characrters
Date: 2006/05/17 06:13 By: Tedi Status: User  
Karma: 3  
Junior Joomlapolitan

Posts: 29
graphgraph
Editing... when I say that remains as á, é I mean as &a acute, &e acute, without spaces (the forum makes de conversion)

Tedi wrote:
Hi,

It is happening something similar in our web. I translated the CB 1.0 stable language file to spanish using UTF-8 enconding. It is working OK in most of CB, but there are several cases where the enconding is not translated, it just remains as (á é ...). These cases are:
- Popup menus in the connections.
- PMS sent by the connections.
- Emails sent by the connections.

The template is using iso-8859-1 and we use myPMS II 2.1 Beta

Any clue?

Thanks,
Tedi
Click here to see the profile of this user The topic has been locked.

hmtl tags visible in reply
Date: 2006/10/10 21:57 By: averan Status: User  
Karma: -1  
Fresh Joomlapolitan

Posts: 24
graphgraph
hey

i've got the same issue and i'm using the default english!!

messages generated by the connections system use html tags....and the mypms messaging system fails to strip those tags.

either i correct mypms to strip tags when replying, or i strip the tags manually from the outgoing connections-generated message.

unfortunately, i cannot find where comprofiler generates the connections message!!

i've searched everywhere for this language variable, "_UE_CONNECTIONPENDMSG", and cannot find it.

anyone know where this is called out from???
Click here to see the profile of this user The topic has been locked.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login