Enumerators with Non-Contiguous Values?

I have seen enumerators in labview that have non contiguous values, but i cannot figure out how to create them myself. Usually they are associated with calls to external .net or .dll libraries.
In this case the return values of a function I am calling are enumerated in hexedecimal, and are basically 1 value per bit. Is it possible to create such an enum? Of course I can handle the result as an int, but this is not as readable.
Thanks in advance

You can display it as a ring control... To the user, it would be transparent (and that is what you probably saw).  Otherwise you will have to bit twiddle to get contiguous values for the enum.
Message Edited by Stradis on 07-09-2007 02:35 PM
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs?

Similar Messages

  • Non cumulative with non cumulative value change

    hi,
    can any one tell the concept of non cumulative with non cumulative value change with an example with numbers,i am bit confused .
    like we have for non *** inflow and outflow- stocks inflow and outflow so non *** is based on inflow and inflow.
    in the same way any example for above concept

    Hi Venkat,
    If I under stand your question correctly you wish to have an example of where non cumulative values are used and you have given the value of stock? If so here is an example with figures
    So you would do an initial load loading the opening balances of Stock.
    Say material number 12345 = 100 units
    After that, only movements will be posted so Stock will either increase or decrease depending on what image is posted via the change log.
    So there will be a purchase of material 12345 for 50 units so now the balance of material is 150.
    But then you could use or sell 70 units of material 12345 so you stock value would be 80 units
    I hope this makes sense and this is an example that you are after if not please let me know and I'm happy to help
    Regards
    Ben
    PS assign points if useful

  • How I can extend JSlider to work with non-integer values?

    I need to create slider with non-integer scale. How I can do it?

    As it turns out, I found a solution by myself.  By using the "onBlur" method instead of the "onChange" method, I got what I needed.
    Thanks,
    Ralph

  • How to archive info cube with non-cumulatives values ??

    Dear All,
    Would you like kindly help me please .. ??
    It's regarding archiving, but right now archiving in Info Cube with cumulative values like Info cube movement.
    Because it's rather different than other cube due it has marker ..
    I've already read from article discussing about archiving, it said i must archive the data before the marker (it's if i'm not having incorrect understanding). But right now, i don't know where the marker is ??
    My questions are:
    1. Could somebody help me please giving me explanation regarding it ??
    2. If don't mind, would you like to explain me step-by-step how to archive it ??
    3. Is my comprehension above correct that we have to archive data before the marker ?? If yes, how can i know where the marker is (What date does the marker point to ?? ) ??
    Best regards,,
    Niel.

    Hi
    May be helpful to you
    Step by step https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0974515-7225-2b10-14a1-f5abba35b19f
    Data Archiving Part 1 – A Tour d’Horizon
    http://www.sap-press.com/product.cfm?account=&product=H956
    Technical Setting for Data Archiving
    Hope it helps

  • Initializing arrays with non-default values

    Hi,
    I have a large array (300+ elements) and want it to be filled with all -1 at the start and not with 0.
    A couple of (bad) ideas of mine:
    - using an expression "array[0] = -1, array[1] = -1, ..." (a lot of typing work)
    - using a for loop with an expression "array[Locals.k] = -1" (very slow)
    - getting the array from "somewhere else" like e.g. a LabVIEW VI (cumbersome)
    Is there some expression syntax I can use?

    You can use SetElements(Locals.d,-1)  where d is the array.

  • Updating a DB table with only non-empty values of a work area

    Hi everybody,
    Is that possible in ABAP to update a table in the database with a work area, but only with non-empty values of this work area?
    Example:
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    ls_custom-FIRSTNAME = ' '.
    ls_custom-CURRENCY = ' '.
    update ZCUSTOMERS_0 from ls_custom.  *" I want that the update clause don't do the update with FIRSTNAME  and CURRENCY fields because they have empty values*
    If it's possible, how to do it?
    Thanks & regards,
    Abdel

    Total Questions:  81 (66 unresolved)
    Hi,
    To my understanding you mean if the database table has values
    customer         20
    lastname          somename
    firstname         firstname
    currency          INR
    so now after this
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    ls_custom-FIRSTNAME = ' '.
    ls_custom-CURRENCY = ' '.
    update ZCUSTOMERS_0 from ls_custom.
    you want the result as
    customer         20
    lastname          Myname
    firstname         firstname
    currency          INR
    Is it so? Then Normal update
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    update ZCUSTOMERS_0 from ls_custom.
    would do that.
    Thanks,
    Sri.

  • Problem in summation on a column with possible null values

    Hi,
    I want to do summation on a column.
    If I use <?sum(amount)?>, if there is any null value,its giving NaN as output.
    From the forum I got the below syntax
    <?sum(AMOUNT[number(.)!='NaN'])?>
    but it is also not giving me the expected result. Its always displays 0.
    I want some thing like sum(NVL(amount,0)). Could some body please help me out?
    Thanks in Advance,
    Thiru

    If the column has many, many null values, and you want to use the index to identify the rows with non-null values, this is a good thing, as a B*Tree index will not index the nulls at all, so, even though your table may be very large, with many millions of rows, this index will be small and efficient, cause it will only contain index entries for those rows where the column is not null.
    Hope that helps,
    -Mark

  • Non-Cumulative value Infoset will not work

    Why doesn't an Infoset work with non-cumaltive values? Can I just use a multiprovider to get around this issue?

    Hi,
       Non cumulative values are not stored anywhere in the database. These are just definitions which are calculated at runtime. Consider the Stock cube. It has 2 key figures. Received stock and issued stock. It also has a Non cumulative Kf total stock which is defined as inflow : Received stock and outflow : issued stock.
    At Query runtime, the total stock is calculated as inflow - outflow. No data is physically stored in your database.
    Since an infoset joins values stored in a database, you will not be able to use it for Non cumulative values.
    What you can do is find your Non cumulative KF definition, and map the input fields for this KF. You can then try and use these fields to calculate the value as a formula.
    Hope this helps.
    Regards.

  • SSRS report with tabular model – Create a dropdown report parameter with "None" option as the top value.

    Hello Everyone,
    I would like to create SSRS single select dropdown list parameter (it is using MDX query in dataset) with "None" option at the top. Note: this parameter is dependent parameter and getting filtered based on the selection of another parameter.
    How can I add hard-coded "None" text at the top of the parameter values? Can Union function help me to add this hard-coded value? The purpose is, when user selects None from the dropdown ignore the condition of the parameter from MDX query else
    use the selected value in query condition.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi Ankit,
    In your scenario, you can achieve your requirement in report level other than in query. Add a Filter like:
    Expression: =IIF(Parameters!Name.Value="None",1,Fields!Name.Value)
    Operator:=
    Value: =IIF(Parameters!Name.Value="None",1,Parameters!Name.Value)
    In this case, report will ignore this parameter, and show all the records on the report when selecting “None” value. I have tested it on my local environment, the screenshots below are for you reference.
    Reference:
    Add a Filter to a Dataset (Report Builder and SSRS)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Routing non-contiguous WAN with RV042?

    Environment: RV042 V03 (firmware v4.0.0.07-tm) currently routing a /29 to an internal network.
    We used up our /29 and now have a 2nd non-contiguous /29.  Both of these come over the same wire.
    Is there any way to configure the RV042 to route both blocks?  I need to do 1:1 NAT with all of the addresses in the first /29 as well as 3 addresses in the second /29.  There is only one internal subnet.
    Any help would be appreciated.

    Or to ask an alternatie question, is there a Cisco product that would allow me to do this routing?

  • Plot empty point in line chart with previous non empty value

    Hello,
    I have a problem to plot series data in SSRS line chart, with the empty point, I don't want use average and zero provided by the report builder, I want use the last non empty data to fill the empty point, tried to use expression =Previous(Field!Value), no
    luck, any one have some good idea?
    P.S. do not want to use query to fill the null with previous non null value, just from the performance point view. at last , the chart should have some line as square wave with different height, if I use average for empty point, it shows slop wave line which
    is not reflect the real production.
    Thanks
    Richard 

    Hi Richard,
    In Reporting Services, if the chart type is a linear chart type (bar, column, scatter, line, area, range), null values are shown on the chart as empty spaces or gaps between data points in a series. By default, empty points are calculated by taking the average
    of the previous and next data points that are not null.
    If we want to use previous value to replace the empty value, please refer to the following steps:
    Right-click the field which displayed in Y axis (Height) to open the Series Properties.
    In the Value field to modify the expression to look like this:
    =iif(isnothing(Sum(Fields!Height.Value)),previous(sum(Fields!Height.Value)),sum(Fields!Height.Value))
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • KF creation  - Non-cumulative value with NCUM value change - option

    What is the use above option in the KF creation?
    Thanks

    Hi,
    A non-cumulative is a non-aggregating key figure on the level of one or more objects, which is always displayed in relation to time. Examples of non-cumulatives include headcount, account balance and material inventory.
    If you use non-cumulative key figures, an absolute non-cumulative value (the marker) and all non-cumulative value changes are saved in the fact table of the InfoCube. In this way, the retention and volume of data in the data loading process is optimized. A data record is then only loaded to the InfoCube if a non-cumulative changes because of a transaction. Non-cumulatives can then be evaluated at any time in queries, using non-cumulative key figures.
    Pls chk this links;
    http://sap.seo-gym.com/inventory.pdf
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
    Reagrds
    CSM Reddy

  • Db2ldif error: Non-contiguous attribute?

    Using db2ldif to dump out a 5.0 server I've started
    seeing the following message periodically. What does
    it mean? Looked in KB and nothing seemed to pop out.
    Anything to worry about?
    [25/Jan/2002:12:01:12 -0600] - slapi_str2entry_fast: Error. Non-contiguous attribute values for access

    Hi,
    We have the same problem since this weekend.
    [22/Feb/2010:10:29:09 +0100] - WARNING<5379> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry. Error: non-contiguous attribute type for mailmessagestore
    [22/Feb/2010:10:29:10 +0100] - WARNING<5379> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry. Error: non-contiguous attribute type for mailmessagestore
    [22/Feb/2010:10:29:10 +0100] - WARNING<5379> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry. Error: non-contiguous attribute type for mailmessagestore
    [22/Feb/2010:10:29:10 +0100] - WARNING<5379> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry. Error: non-contiguous attribute type for mailmessagestore
    We have two DS (master role) replicating each other (5.2 P6) and the same errors occurs on export to LDIF, on indexation, and sometimes, on access (for this attribute).
    I already have tested to:
    - reimport data for the suffix from the other replica
    - create an index to this attribute (for testing)
    - restart the DS and restart the DS with a "forced" recovery of the database
    and no changes :( I still have that errors.
    I have checked my exports (which are my backups) and I have the same amount of occurence for that attribute. All seems "fine"...
    Any advices ?
    Edited by: olivier_delcourt on Feb 22, 2010 10:52 AM

  • Problem description: My MacBook Pro is running really slow. Applications won't open or take up to 10 min.  EtreCheck version: 2.1.5 (108) Report generated December 27, 2014 at 9:15:58 PM CST  Click the [Support] links for help with non-Apple products

    Problem description:
    My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
    EtreCheck version: 2.1.5 (108)
    Report generated December 27, 2014 at 9:15:58 PM CST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
    Disk Information: ℹ️
      TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HD (disk1) /  [Startup]: 498.88 GB (5.04 GB free) (Low!)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.coreservices.appleid.authentication.plist
      [killed] com.apple.icloud.fmfd.plist
      [killed] com.apple.telephonyutilities.callservicesd.plist
      4 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.icloud.findmydeviced.plist
      [killed] com.apple.ifdreader.plist
      [killed] com.apple.nehelper.plist
      [killed] com.apple.wdhelper.plist
      [running] com.seagate.TBDecorator.plist [Support]
      5 processes killed due to memory pressure
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
      [running] com.carbonite.launchd.carbonitestatus.plist [Support]
      [loaded] com.coupons.coupond.plist [Support]
      [loaded] com.hp.help.tocgenerator.plist [Support]
      [loaded] com.trendmicro.itis.dca.plist [Support]
      [running] com.trendmicro.itis.uimgmt.agent.plist [Support]
    Launch Daemons: ℹ️
      [failed] com.adobe.fpsaud.plist [Support]
      [running] com.carbonite.launchd.carbonitedaemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [running] com.trendmicro.icore.av.plist [Support]
      [running] com.trendmicro.icore.main.plist [Support]
      [running] com.trendmicro.icore.wp.plist [Support]
      [running] com.trendmicro.itis.plugin.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
      [invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
      [loaded] com.trendmicro.itis.uninstaller.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
      WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
      HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
      CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    User internet Plug-ins: ℹ️
      npBcsMcTcIO: Version: Unknown [Support]
    Safari Extensions: ℹ️
      Trend Micro Toolbar [Installed]
    3rd Party Preference Panes: ℹ️
      Carbonite  [Support]
      Flash Player  [Support]
      Paragon NTFS for Mac ® OS X  [Support]
      Seagate Dashboard for Mac OSX  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      HD: Disk size: 498.88 GB Disk used: 493.84 GB
      Destinations:
      Jens Seagate Backup [Local]
      Total size: 999.86 GB
      Total number of backups: 6
      Oldest backup: 2014-06-24 10:33:56 +0000
      Last backup: 2014-12-17 17:14:18 +0000
      Size of backup disk: Too small
      Backup size 999.86 GB < (Disk used 493.84 GB X 3)
      My Passport for Mac [Local]
      Total size: 2.00 TB
      Total number of backups: 14
      Oldest backup: 2013-08-21 19:19:35 +0000
      Last backup: 2014-12-19 11:44:23 +0000
      Size of backup disk: Excellent
      Backup size 2.00 TB > (Disk size 498.88 GB X 3)
    Top Processes by CPU: ℹ️
          6% coreaudiod
          5% CarboniteDaemon
          4% iMovie
          3% JustCloud
          3% Wondershare Player
    Top Processes by Memory: ℹ️
      335 MB iPhoto Library Manager
      180 MB Finder
      142 MB iMovie
      70 MB Preview
      51 MB Microsoft Word
    Virtual Memory Information: ℹ️
      149 MB Free RAM
      1.04 GB Active RAM
      897 MB Inactive RAM
      1.17 GB Wired RAM
      30.53 GB Page-ins
      1.42 GB Page-outs
    Diagnostics Information: ℹ️
      Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
      Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
      Dec 26, 2014, 02:22:01 PM Self test - passed
      Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]

    You have nearly run out of disk space.  Either purchase a larger one or start cleaning out the one you have?

  • Can't get the attachment filename out of a Part (with non ascii characters)

    Hello, all and happy new year :)
    My issue is with non ascii filename in attachments... Yes i've read the FAQ : http://www.oracle.com/technetwork/java/faq-135477.html#encodefilename
    I can't get the filename out of the BodyPart for those kind of attachments
    here's my unit test :
         * contains various parts from various mailer encoded in different ways...
         private enum EncodedFileNamePart{
              OUTLOOK("Content-Type: text/plain;\n name=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \n\nnoel 2010\n","c'estdéjànoëlçac'estcool.txt"),
              GMAIL("Content-Type: text/plain; charset=US-ASCII; name=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Disposition: attachment; filename=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Transfer-Encoding: base64\nX-Attachment-Id: f_giityr5r0\n\namluZ2xlIGJlbGxzIQo=\n","déjànoëlçacestcool.txt"),
              THUNDERBIRD("Content-Type: text/plain;\n name=\"=?ISO-8859-1?Q?d=E9j=E0no=EBl=E7acestcool=2Etxt?=\"\nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename*0*=ISO-8859-1''%64%E9%6A%E0%6E%6F%EB%6C%E7%61%63%65%73%74%63%6F;\n filename*1*=%6F%6C%2E%74%78%74\n\njingle bells!\n","déjànoëlçacestcool.txt"),
              EVOLUTION("Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt\nContent-Type: text/plain; name*=ISO-8859-1''d%E9j%E0no%EBl.txt; charset=\"UTF-8\" \nContent-Transfer-Encoding: 7bit\n\njingle bells\n","déjànoël.txt"),
              String content=null;
              String target=null;
              private EncodedFileNamePart(String content,String target){
                   this.content=content;
                   this.target=target;
              public Part get(){
                   try{
                   ByteArrayInputStream bis = new ByteArrayInputStream(this.content.getBytes());
                   Part part = new MimeBodyPart(bis);
                   bis.close();
                   return part;
                   catch(Throwable e){
                        return null;
              public String getTarget(){
                   return this.target;
         @Test
         public void testJavamailDecode() throws MessagingException, UnsupportedEncodingException{
              System.setProperty("mail.mime.encodefilename", "true");
              System.setProperty("mail.mime.decodefilename", "true");
              for(EncodedFileNamePart part : EncodedFileNamePart.values())
                   assertEquals(part.name(),MimeUtility.decodeText(part.get().getFileName()),part.getTarget());     
    I take a NullPointerExcepion in the decodeText because getFileName() return null for the EVOLUTION case, and work well with OUTLOOK, THUNDERBIRD and GMAIL.
    Evolution's content type is "Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt" wich doesn't look like the other (looks like the RFC 2616 or RFC5987 to do it.)
    How can i handle this situation except by writting my own decoder?
    Thanks for your answers!
    Edited by: user13619058 on 4 janv. 2011 07:44

    Set the System property "mail.mime.decodeparameters" to "true" to enable the RFC 2231 support.
    See the javadocs for the javax.mail.internet package for the list of properties.
    Yes, the FAQ entry should contain those details as well.

Maybe you are looking for

  • Why can't I rent a movie from iTunes on my Macbook Pro?

    I am trying to rent a movie from iTunes on my Macbook Pro but when I click on the gray rent movie button it does NOTHING, like I never clicked on it.  I am signed in, I authorized the computer and have rented movies in the past.   I do have OS X 10.5

  • When I had IEXP. I would save a picture from email to My Pictures. With Firefox it doesn't work. Saved pic shows a box w/IEx & no pic.

    When I save a picture from my email to My Pictures the picture doesn't appear. A box appears in My Pictures that shows Internet Explorer (E) and no picture of what I tried to save. The jpeg also wasn't at the bottom drop down box. I could name the pi

  • [solved] How to type a degree symbol?

    In Windows, it's Alt+0176.  Is there something similar to this that will type a degree symbol? Last edited by synthead (2008-05-31 07:29:51)

  • USER_COMMAND logic

    I have below code {MODULE user_command_0100 INPUT.   DATA : ok_code LIKE sy-ucomm,          save_ok LIKE ok_code,          output LIKE ok_code.   ok_code = sy-ucomm.   save_ok = ok_code.   CLEAR ok_code.   CASE save_ok.     WHEN '&F03' OR '&F15' OR '

  • Serial Number selection in goods movements

    Hi all, I need to exclude from/(evidentiate in) MIGO, all serial numbers which I've already selected previosly to let them have a good mvement for ex. 101 or 321 in MIGO. I'd like to do that, as I can have a big production order, also for 100 or 200