Changeset 2672 in subversion
- Timestamp:
- Jun 22, 2009 12:20:34 PM (4 years ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 8 edited
-
include/rcube_html_page.php (modified) (2 diffs)
-
include/rcube_imap.php (modified) (1 diff)
-
include/rcube_json_output.php (modified) (1 diff)
-
steps/addressbook/export.inc (modified) (1 diff)
-
steps/mail/rss.inc (modified) (1 diff)
-
steps/mail/search.inc (modified) (1 diff)
-
steps/mail/sendmail.inc (modified) (1 diff)
-
steps/mail/spell_pspell.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_html_page.php
r2654 r2672 30 30 protected $script_files = array(); 31 31 protected $scripts = array(); 32 protected $charset = 'UTF-8';32 protected $charset = RCMAIL_CHARSET; 33 33 34 34 protected $script_tag_file = "<script type=\"text/javascript\" src=\"%s\"></script>\n"; … … 254 254 $output = str_replace('$__skin_path', $base_path, $output); 255 255 256 echo rcube_charset_convert($output, 'UTF-8', $this->charset); 256 if ($this->charset != RCMAIL_CHARSET) 257 echo rcube_charset_convert($output, RCMAIL_CHARSET, $this->charset); 258 else 259 echo $output; 257 260 } 258 261 -
trunk/roundcubemail/program/include/rcube_imap.php
r2651 r2672 2691 2691 2692 2692 /** 2693 * Convert body charset to UTF-8according to the ctype_parameters2693 * Convert body charset to RCMAIL_CHARSET according to the ctype_parameters 2694 2694 * 2695 2695 * @param string Part body to decode -
trunk/roundcubemail/program/include/rcube_json_output.php
r2589 r2672 30 30 { 31 31 private $config; 32 private $charset = 'UTF-8';32 private $charset = RCMAIL_CHARSET; 33 33 private $env = array(); 34 34 private $texts = array(); -
trunk/roundcubemail/program/steps/addressbook/export.inc
r2237 r2672 27 27 // send downlaod headers 28 28 send_nocacheing_headers(); 29 header('Content-Type: text/x-vcard; charset= UTF-8');29 header('Content-Type: text/x-vcard; charset='.RCMAIL_CHARSET); 30 30 header('Content-Disposition: attachment; filename="rcube_contacts.vcf"'); 31 31 -
trunk/roundcubemail/program/steps/mail/rss.inc
r2223 r2672 50 50 // Send global XML output 51 51 header('Content-type: text/xml'); 52 echo '<?xml version="1.0" encoding=" UTF-8"?>52 echo '<?xml version="1.0" encoding="'.RCMAIL_CHARSET.'"?> 53 53 <rss version="2.0" 54 54 xmlns:dc="http://purl.org/dc/elements/1.1/" -
trunk/roundcubemail/program/steps/mail/search.inc
r2446 r2672 22 22 23 23 // using encodeURI with javascript "should" give us 24 // a correctly UTF-8encoded query string25 $imap_charset = 'UTF-8';24 // a correctly encoded query string 25 $imap_charset = RCMAIL_CHARSET; 26 26 27 27 // get search string -
trunk/roundcubemail/program/steps/mail/sendmail.inc
r2604 r2672 312 312 if (!empty($CONFIG['generic_message_footer'])) { 313 313 $footer = file_get_contents(realpath($CONFIG['generic_message_footer'])); 314 $footer = rcube_charset_convert($footer, 'UTF-8', $message_charset);314 $footer = rcube_charset_convert($footer, RCMAIL_CHARSET, $message_charset); 315 315 } 316 316 } -
trunk/roundcubemail/program/steps/mail/spell_pspell.inc
r2445 r2672 50 50 51 51 // send output 52 $out = '<?xml version="1.0" encoding=" UTF-8"?><spellresult charschecked="'.rc_strlen($text).'">';52 $out = '<?xml version="1.0" encoding="'.RCMAIL_CHARSET.'"?><spellresult charschecked="'.rc_strlen($text).'">'; 53 53 54 54 $diff = 0;
Note: See TracChangeset
for help on using the changeset viewer.
