Hello.
Some mailler doesn't suuport UTF-8. So, we japanese need to switch charater set. Maybe, I think other people who use multibyte language also need to switch.
This is patch to add character set selector. This code was exist in older version. ============================================================ --- ./skins/default/templates/compose.html (svn rev 667) +++ ./skins/default/templates/compose.html (changed) @@ -104,6 +104,9 @@ <roundcube:button type="input" command="list" class="button" label="cancel" />
</td> <td align="right"> +<roundcube:label name="charset" />: <roundcube:objectname="charsetSelector"> +</td> +<td align="right"> <roundcube:label name="editortype" />: <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span> </td> ============================================================
--- ./program/localization/index.inc_ (svn rev 672) +++ ./program/localization/index.inc (changed) @@ -88,7 +88,11 @@ 'tw' => 'zh_TW' );
-$rcube_charsets = array(); +$rcube_languages_default_charset = array(
+);
+$rcube_charsets = array();
--- rcmail_template.inc_ (svn rev 732) +++ rcmail_template.inc (changed) @@ -824,7 +824,12 @@ function rcmail_charset_selector($attrib) { global $OUTPUT;
global $sess_user_lang;
static $rcube_languages_default_charset;
if (empty($rcube_languages_default_charset))
@include($INSTALL_PATH.'program/localization/index.inc');
// pass the following attributes to the form class $field_attrib = array('name' => '_charset'); foreach ($attrib as $attr => $value)
@@ -853,7 +858,12 @@ $select = new select($field_attrib); $select->add(array_values($charsets), array_keys($charsets));
============================================================
Yoshikazu.
-- /** -----------------------------------------
*/
List info: http://lists.roundcube.net/dev/