[Bug 300553] New: text attatchments get the worng charset

puggan from_kde at puggan.se
Thu May 24 12:09:18 BST 2012


https://bugs.kde.org/show_bug.cgi?id=300553

            Bug ID: 300553
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: text attatchments get the worng charset
    Classification: Unclassified
                OS: Linux
          Reporter: from_kde at puggan.se
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: composer
           Product: kmail2

bug kmail 4.8.1
text attatchments get the worng charset.

the attatchment:
file -i Downloads/avtalslista-20120523.csv
Downloads/avtalslista-20120523.csv: text/plain; charset=iso-8859-1
file Downloads/avtalslista-20120523.csv
Downloads/avtalslista-20120523.csv: ISO-8859 text, with very long lines

the attatchment in sent email:
Content-Disposition: attachment; filename="avtalslista-20120523.csv"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/csv; charset="UTF-8"; name="avtalslista-20120523.csv"

so the ISO-8859 attatchemnt is sent as quoted-printable ISO-8859 whit attribute
charset="UTF-8".

Reproducible: Always

Steps to Reproduce:
1. Create a text-file in iso-8859-1
2. Attach textfile in email composer
3. Save email as draft
4. view source of email
Actual Results:  
Content-Type: text/csv; charset="UTF-8"; name="avtalslista-20120523.csv"

Expected Results:  
Content-Type: text/csv; charset="iso-8859-1"; name="avtalslista-20120523.csv"

emerge --info kmail                                                             
Portage 2.1.10.49 (default/linux/x86/10.0/desktop/kde, gcc-4.4.6,
glibc-2.14.1-r3, 2.6.38-gentoo-r6 i686)                                         
=================================================================               
                        System Settings
=================================================================
System uname:
Linux-2.6.38-gentoo-r6-i686-AMD_Athlon-tm-_II_X2_245_Processor-with-gentoo-2.0.3
Timestamp of tree: Wed, 23 May 2012 10:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.6-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo edwtjo-ebuilds
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/
/etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going --quiet-build -1"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news
parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo
ftp://mirror.mdfnet.se/gentoo http://ftp.ing.umu.se/linux/gentoo/
ftp://ftp.ing.umu.se/linux/gentoo/ http://ftp.ds.karen.hj.se/gentoo/
ftp://ftp.ds.karen.hj.se/gentoo/ "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --human-readable --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/data/portage_tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/edwtjo-ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac abm acl acpi alsa apic arat
bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr clflush cli cmov
cmp_legacy consolekit constant_tsc cr8_legacy cracklib crypt cups cx16 cx8 cxx
dbus de declarative dri dts dvd dvdr dvdread emboss encode exif extapic
extd_apicid fam firefox flac fortran fpu fxsr fxsr_opt gdbm gif gnutls
gstreamer hal ht ibs iconv inotify irc jabber joystick jpeg kde kipi lahf_lm
lbrv lcms ldap libnotify lm mad mca mce misalignsse mmx mmxext mng modules
monitor mp3 mp4 mpeg msn msr mtrr mudflap mysql ncurses nls nonstop_tsc npt
nptl nrip_save nx ogg openal opengl openmp osvw pae pam pango pat pcre pdf
pdpe1gb pge phonon plasma png pni policykit popcnt ppds pse pse36 pulseaudio qt
qt3support qt4 rdtscp readline sdl semantic-desktop sep session skinit spell
srt sse sse2 sse4a ssl startup-notification svg svm svm_lock syscall tcpd
theora tiff truetype tsc udev udisks unicode upower usb vcd vme vorbis wdt
win32codecs wlm wxwidgets x264 x86 xcb xcomposite xinerama xml xorg
xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio mem_cache
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage
tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface
irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech
aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea
ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2
timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" LINGUAS="en" NETBEANS_MODULES="php nb ide websvccommon
harness" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7"
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vesa ati fbdev"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface
geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac
delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

kde-base/kmail-4.8.1 was built with the following:
USE="(consolekit) handbook kontact (policykit) (-aqua) -debug -test"

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list