Bug 2544 - winpopup messages with euro sign truncated
Summary: winpopup messages with euro sign truncated
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Extended Characters (show other bugs)
Version: 3.0.9
Hardware: x86 Linux
: P3 minor
Target Milestone: none
Assignee: Alexander Bokovoy
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-03-24 02:59 UTC by gerdfleischer
Modified: 2019-06-18 10:26 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description gerdfleischer 2005-03-24 02:59:58 UTC
When I send winpopup messages from samba to samba they get truncated if they
contain a euro sign right before it. (UTF-8 env.)
Comment 1 Andrew Bartlett 2019-06-18 10:25:36 UTC
Likely fixed by:

commit 15e84a9a09c5a86416e964a3258ee35718fbf45a
Author: Andrew Tridgell <tridge@samba.org>
Date:   Thu Mar 24 10:59:41 2011 +1100

    charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
    we shouldn't accept bad multi-byte strings, it just hides problems
    Autobuild-User: Andrew Tridgell <tridge@samba.org>
    Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104

winpopup messages are locked into the DOS code page, which 

Tested on Samba master b5bf1b66d55f40862ece83ef013793fb303acca7 (will be 4.11) and the message is no longer truncated, but is horribly mangled where the Euro was.

https://en.wikipedia.org/wiki/Code_page_850 does not contain the Euro, and the message is sent in dos charset.

Other high characters which are in CP850 do get sent.