Jump to content

Spanish Characters Issue?


Tmeister

Recommended Posts

Hi there.

 

When someone open a ticket with spanish characters in the subject, the subject is not decoded in the admin interface.

 

Something like this.

 

Original Subject: necesito información por año

 

Admin Interface Subject: =?ISO-8859-1?Q?necesito_informaci=F3n_por_a=F1o?=

 

the subject is the same in the automatic mail response

 

GoHostem

A new support ticket has been opened.

Department: Cobros
Subject: =?ISO-8859-1?Q?necesito_informaci=F3n_por_a=F1o?=
Priority: Medium

this is a test a=F1o informaci=F3n

You must login to the administration area to respond to this ticket.

[url]https://clients.gohostem.com/admin/[/url]

 

is a encode/decode problem.

 

Any ideas to fix this,

 

Thanks in Advanced

Link to comment
Share on other sites

This is something only matt can add since all of the admin area is encoded.

 

If you need to do this on the client side, you can use php to do it.

 

You can do this for all extended latin char sets by creating a custom smarty funciton.

 

Try this:

 

function LatinMimeDecode($string) {

$array = imap_mime_header_decode($string);

$str = "";

foreach ($array as $key => $part) {

$str .= $part->text;

}

return $str;

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated