ENS for Calendar Server strange issue when handling special characters

The problem is basically that the ENS message isn't fully flushed to the stream when the generated event (an appointment creation for example) has special characters such as "ñ", "á","é". Maybe are encoded in more than one byte but it flushes the buffer using characters * character_size and character_size is not always 1.
If I make a second appointment the buffer is flushed and I get the rest of the first notification and the new one.
Perhaps it is a configuration case and I should configure ENS to support more languages.
Could you help me?
Thank you,
Best regards.

Thank you Shane.
I've run the sample and it works fine.
Perhaps it's not a bug but it's very strange the behaviour ens has with events with special characters. This is what I do step by step:
1. I subscribe for all events and all the users
2. I create and appointment with special characters
3. I receive the event notification
GAP/1.0 1b 3 1915 enp:///ics/caleventcreate?calid=[email protected]&uid=000000000000000000000000000000000b2c934cc04e0000140000001f130000&rid=0|ntfy|00000000
The number 1915 should be the message length so I try to read 1915 bytes. However I can only read 1903 bytes. In this 1903 I have the full xml with the vcalendar.
4. I create a second appointment
5. The message I received is something like "\0\0\0\0\0\0\0\0\0\0\0\0" which is 1915-1903
6. I have to discard this message because it's invalid
7. I receive the event notification
I can fix my custom client and discard this "\0\0\0..." messages but It's a strange behaviour. Perhaps the protocol is as is but I thought it was a bug.
Thank you Shane.

Similar Messages

  • Strange issue when pausing LONG audiobook--pressing play again changes the

    Strange issue when pausing LONG audiobook--pressing play again changes the position within the book--it doesn't start back exactly where it left off.
    The audiobook of "Harry Potter and the Half Blood Prince" is between 18 and 19 HOURS long--all as one long track/file.
    I've noticed that when I pause while listening and then press play again, it "rewinds" and starts playing portions of the audiobook from about 10 minutes prior--but the time stamp doesn't change. At least this is the time frame from the first "test". Other pauses/plays may result in different time differences.
    The first time this happened, I didn't realize what it was doing. I pressed play (from the pause) and I heard a portion that I had already played. I thought that the bookmark just didn't "remember" as it should have, so I scrubbed forward trying to find where I remembered leaving off. If you end up pausing/playing even a couple of times with this happening each time, the portion of the audiobook that you're playing and the time stamp becomes COMPLETELY off! For example, almost an hour into the time stamp was really only about 10-15 minutes into the actual book.
    I'm not sure if this makes any sense, but hopefully it does to someone. It's very frustrating to have this happen simply because you had to pause while listening. You have to scrub backwards or forwards each time to find out where you REALLY left off at and the time stamp becomes of no help value since it doesn't change as the playback position moves itself.
    I'm sure that this is something happening due to the extreme length of the audio file. That maybe it can't track as precisely as it could with shorter lengths. ???
    Any ideas? Has anyone else seen this happen? Any ideas on whether or not there is anything that can be done to prevent this?

    I'm glad that I'm not the only one having this
    problem. It's ironic that we're both having issues
    with the SAME audiobook. I haven't had a chance to
    listen to Books 1-5 much to see if they have the same
    issue or not--I don't remember any on the few parts
    that I've played for my nephews.
    Yeah, I know! I was shocked to see that. I recently finished HP5 (twice), and NEVER had this issue, but it is a much smaller file size.
    I'm thinking that I may try to convert to AAC before
    I try the splitting program--in theory, it's easier
    to start right back in again when you only have 1
    track to find, than when you have dozens/hundreds of
    smaller tracks. It's sometimes hard to remember
    which track you left off with--even if it's
    "bookmarked" within that track.
    I dunno anything about AAC, to be honest. Never used it. My plan is to split the MP3 into smaller MP3s by chapter and load them on a playlist. Of course, I will have to label them all nice and pretty. It is a long book, but you could always just load a couple of chapter files at a time. The only thing that I can see that would be kind of a pain about splitting it with the Cool MP3 is searching thru the file for each chapter and setting break points.
    My only concern is how much quality I'm losing by
    converting from one compressed format--MP3--to
    another compressed format AAC.
    Yeah. Ew. No clue. Sounds unpleasant to me. Again, I really do not do anything with AAC.
    I suppose, since it's
    spoken word instead of music, the change shouldn't be
    too noticable. I'm not sure what kind of time frame
    it'll require to convert. I'll probably try it with
    book 1 first--since it's the smallest.
    May depend on the program. The one I got boasts no quality loss. You may wanna scrounge around the download sites and see which one sounds like it has the best features, even if you do just get a free trial version of something. I would definitely read the editor's ratings. I tend to trust that more than the typical end user's. They show how many stars the editor gives a product, and you can click that for the review, or sometimes they have labeled tabs where you can access the review.
    As for how long it takes me to rip that particular file and if that actually fixes the scrubbing problem, I will have to let you know tomorrow. WAAAAY past my bedtime!
    Keep me updated on your end. I sure which that there
    was an explanation for why it happens.
    Will do! I am thinking you hit the nail on the head with the length. That was exactly what popped into my mind when I figured out what the goofy thing was doing.
    Talk to you later!
    HP dv5117d, iTunes 7.0.2.16   Windows XP Pro   1st gen 4GB nano, sw ver 1.3

  • Strange issue when scaling text

    Hi,
    I'm using inDesign CS6 and there's a strange issue when rescaling a text with overflow to 200%:
    As you can see, the fourth paragraph doesn't change its font size, even if it has exactly the same configuration. This happens apparently randomly to some paragraphs, or even lines of a paragraph in some cases.
    The weirdest thing is that I have tried the same action with the same .indd file in other computers (another Mac and a Windows one, both CS6) and it scales properly all paragraphs. So I checked all the preferences from one computer to the other, and even if they are the same, the scaling issue still happens.
    Any hints?

    See Replace Your Preferences

  • Stand Alone java client for calendar server

    I am using washington calendar client as a desktop client for calendar server.Can anyone help me on how to use it with JES?.
    I have the following questions on it.
    1. Whats the way to edit the calendar client? Eg suppose we want to fix an appointment.,how it can be done on that calendar screen?
    2. How can we share a calendar among different users?
    3.What is the database being used to store the details about the tasks entered on calendar client?.
    4.What are the security features available?.

    "Pierre-Yves Fourmond" <[email protected]> wrote in message news:<3bf38eb0$[email protected]>...
    I have an EJB deployed on WebLogic 6.1 on my NT machine and I try to reach it
    with a Java client program on that same machine.
    Properties prop = new Properties();
    prop.setProperty (Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.enterprise.naming.SerialInitContextFactory");Hi Pierre,
    For a start, you need to use the
    "weblogic.jndi.WLInitialContextFactory" as the naming factory.
    Hope this helps
    Regards
    drit

  • Handling Special characters in the data set

    Hi All,
    I am facing an issue in hadling special characters while writing data to a flat file.
    The data fetched in toad query is *44CAÑADO* (with some specail character over N), but when this same data is written in textpad using UTL_FILE.put_line, the data written is converted to *44CAÑADO*.
    Can anyone please help me how to handle these special charatcers so that the same data is written in text file as well.
    Regards,
    Shruti

    To find the database characterset, please see (Character Sets & Conversion - Frequently Asked Questions [ID 227330.1] -- 2. What is the database character set used for and how is it set?)
    For your issue, please see these MOS docs.
    UTL_FILE Adds ^U (Control U) NAK Character At the End of the Line. [ID 604150.1]
    Character set conversion when using UTL_FILE [ID 227531.1]
    NLS_LANG Explained (How does Client-Server Character Conversion Work?) [ID 158577.1] -- 5.8 UTL_FILE is writing / reading incorrect characters.
    Thanks,
    Hussein

  • Time-dependent Vendor Master & Handling Special Characters

    Hi,
    I need to extract time-dependent Vendor Master.
    1. The data source for <b>0VENDOR</b> does not have fields to hold the valid date range.
    2. Does the Master data in R/3 for Vendors will hold the valid date range?
    3. The text for <b>0VENDOR</b> provides time-dependent, but how to map the <b>valid from</b> and <b>valid to</b> fields?
    Handling Special Characters:
    We are trying to extract data from Legacy system via DB Connect. The item text field consists of special characters. Of course in BW customization we can specify all the special characters to consider. But the special character we observed is 'square' symbol i.e. 'new line character' in Oracle. We are updating this to an ODS object. When looked at error log, observed that green light for the number of records transferred and updated, but finally when it load into ODS object and activates popping up the error message saying 'could not recognize special character'.
    Please help me getting the 2 issues resolved.
    Thanks in advance.
    Regards,
    Sudhakar.

    Hi Everyone,
    Thanks for inputs on Special characters issue...
    Finally resolved with below piece of code in the start routine:
    DATA: FLAG,
          OFF TYPE I,
          LEN TYPE I VALUE 1,
          ALLOWED_CHAR(95) VALUE
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ`~!@#$%^&*()-_=+ ' &
    'abcdefghijklmnopqrstuvwxyz:;<>,.?/|\{}[]"'''.
    CONSTANTS: C_CHAR VALUE '-'.
      LOOP AT DATA_PACKAGE WHERE NOT /BIC/ZI_DESC IS INITIAL .
        DO.
          IF DATA_PACKAGE-/BIC/ZI_DESC CN  ALLOWED_CHAR.
            REPLACE SECTION OFFSET SY-FDPOS LENGTH LEN OF
                    DATA_PACKAGE-/BIC/ZI_DESC WITH C_CHAR.
            FLAG = SPACE.
          ELSE.
            FLAG = 'X'.
          ENDIF.
          IF FLAG = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        MODIFY DATA_PACKAGE.
      ENDLOOP.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    I have seen the link sent by 'Eugene Khusainov' today. Thought putting my piece of code that may help others...
    Regards,
    Sudhakar.

  • Handling special characters in XML

    Hi,
    I am using Oracle 10g 'XMLType' datatype to store XML files. Before storing I parse the XML document using Java Xerces Parser. If it parses successfuly, then I perform some business rule execution based on XML file which was parsed. So till this stage there is no problems. But when XML file contains some special characters like copy-paste of some description from MS-Word document into XML tags, then Xerces parser will parse such characters with out any exceptions, but while inserting XML document, Oracle database just throws exception saying unable to handle special characters.. So how to avoid such exceptions or silent such exceptions with any specific settings respect to XMLType datatype in 10g DB.
    Please advice!
    Arvind Patil - IN

    Monica--
    In XI 2.0, we've noticed a number of issues processing special characters, primarily caused by the version of JCO that we're running.  It sounds like SAP has spent some time in the past few months focusing on these errors, so make sure you're on the most recent patchlevels of all your middleware components, including any of the middleware libraries that BC uses. In XI, we had to update the 3 files that make up the RFC library and JCO library.  SDM couldn't update the libraries for us -- we had to manually move the files to the right place.
    Escaped XML characters like "&amp;" "&#34;" "&quot;" were fixed as of JCO 2.0.10 (the current patchlevel on AIX/UNIX), the special character "&apos;" is fixed in the next release, JCO 2.0.11, due out in a few weeks (hotfixes are available).  I don't know the equivalent versions on other platforms.  By default, XI 2.0 appears to have shipped with JCO 2.0.5.  I would expect many XI 3.0 users to also be affected.
    This may or may not apply to BC, because I don't know what BC uses to talk to SAP under the covers.
    --Dan King
    Capgemini

  • To Handle Special Characters(Guideu0099 ) in MATMAS IDOC fields

    Need to handle special characters like Guide™, as an attached  superscript in MATMAS02/05 IDOC field . The field name is TDLINE in E1MTXLM segment.
    As a trial run when these special characters are pasted in the TDLINE field, it throws an error that "the input field contains prohibited characters"
    Please let me know if there is any workaround for this.

    hi
    good
    go through these links, i hope these ll help you to solve your problem.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADMLO/CAGTFADMLO.pdf
    http://www.erphome.net/wdb/upload/forum14_f_2908.doc
    thanks
    mrutyun^

  • Handle special characters in the attribute name

    Hi,
    I am generating different view element in WD application dynamically. How to handle special characters other than '-/ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789'  for the attribute name dynamically?
    Thank you, in advance.
    Trupti

    Going with the obvious response - don't use them?
    if you're using dynamic code, there is no reason (other than debug support) to give your created elements any meaningful name.
    Just generate a GUID for each new element and use that.
    If you need to be able to later search for and update the element a simple lookup table of GUID to reference string should work reasonably well.
    Cheers,
    Chris

  • Why does my iPod 4th generation say the certificate for this server is invalid when trying to access iTunes? I've never had an issue until this recently.

    I have never had an issue until recently that won't allow me to go onto the App Store or iTunes on my iPod touch 4th gen. It says the certificate for this server is invalid. Then it says, you might be connecting to a server that is pretending to be iTunes.apple.com which could put your confidential information at risk. How can I fix this so I can access iTunes and the App Store from my iPod again?

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings

  • Calendar Server/Convergence Issues

    Hi,
    I recently managed to install Comm Suite 7 on Solaris x86_64 under a sparse zone; I'm really new to this.
    Calendar Server (CALDAV) 7u1 (7.1-1.11)
    Convergence 2 (2.0-0.06)
    running glassfish 2.2.1 (open source edition)
    Within convergence I have 2 issues:
    - Users can't click the 'New Event' button under the calendar view. Nothing appears, however if you navigate away from the page the browser warns that there are x forms left open for the x amount I clicked the new event button. Log files are not really telling me much
    This issue only occurs on the default user calendar. When users create a new calendar and click the new event button, it works as expected.
    - Not all timezones are listed; I lack all the European ones although that are present in the timezoneids.txt file under the deployment
    Anyone encountered this or could point our where to start looking? I've been poring over the massive documentation set on the wiki and following some troubleshooting guides but nothing really came out.

    Update:
    This issue seems to be really down to timezones; I moved the file aside and created a new one just containing the one I want (Europe/Paris).
    After that I switched all timezones (column wcaptzid) in the DB table CalProp to Europe/Paris and the convergence calendar behaves 'normal'
    Still would be very interested in finding out how to look further into this and if possible work with more timezones than Europe/Paris :)

  • Strange issue when synching Iphone

    Hi,
    Had a strange issue and wondered if anyone could explain what could possibly have happened?
    I purchased an album from iTunes on Saturday on my MacBook Pro. My iTunes library is actually stored on my time capsule, but everything was fine.
    However today at work (so separated from my Time Capsule) I plugged in my iPhone to recharge. As standard it tried to synch - and this is when the issue occurred:
    A message appeared stating that there were purchased items on my iPhone that were not in my iTunes library, that I must authorise the machine else the items would be removed. When clicking on the authorise button, the authorisation / iTunes store login screen appeared - containing the username [email protected] - which is completely unknown to me. I have absolutely no idea who this person is and I have never seen that email address before.
    I changed the login to my details and signed in - where the system said that my machine was already authorised for my account - so the synch continued normally (apart from the usual messages when disconnected from my time capsule).
    How the **** did my machine think it was attached to wesley patt's account? Has this happened to anybody else?
    Cheers for any help
    Darren

    I just tried to sync my wife's iphone and the same name [email protected] came up. This can not be a coincidence. This has to be a virus of some sort. My wife is unable to make purchases from her computer right now even though the account detail works. Did this happen to either of you? I'm reporting this to apple and referencing this board.

  • Brwoser does not refresh for each server event if delta handling is on

    I wrote a simple stateful BSP page. When I turn on delta handling(to remove flickering) on the page, page is refreshed only for every other server event. This page contains two table views and I use table view iterator for one of them. How can I force browser refresh for each server event? Browser is IE and version is 5.5.
    This problem doesn't exist if turn off delta handling. But I want to stop flickering any how, since users are complaining.

    Learning BSP is similar like driving a car. You first need to get a driver's license. So you study a bit, take a test and are ready to drive. Thereafter, flipping that deltaHandling checkbox is like getting into a big plane and trying to fly. It is unfortunately a quantum jump from using BSP to activating the DH system. Which also has a lot of very special constraints, etc.
    This was a very special development we did for a big application group inhouse. The first version was good, but did not exactly meet all our expectations. So we redid a lot of the work/concepts. All of this is highly specialized and not documented.
    What I could recommend is that you look at BSP application IT05. It should help a little. Otherwise, I am going to ask that you please open an OSS message (please reference this thread!). Then we can look at your application and show you what is to be done. But it is definitely not all moonshine and roses. Our standard answer is "do not use it" when people can not ride this bull. I will add it onto my weblog schedule for some future date.

  • Strange issue when switching between spaces

    This morning my laptop (MBP) started doing strange things when I switch space. For starters, it takes a lot longer to actually make the transition. Then, when the desktop has moved, it takes a second or so for the primary application window on that desktop to be activated, and the menu bar does a strange swipe animation. I've noticed in Console that there are errors such as this each time I switch space:
    11/04/2013 12:50:03.425 Dock[363]: CGSGetWindowTags: Invalid window 0x214f
    11/04/2013 12:50:03.426 Dock[363]: CGSGetWindowTags: Invalid window 0x214e
    11/04/2013 12:50:03.427 Dock[363]: CGSGetWindowTags: Invalid window 0x214d
    11/04/2013 12:50:03.427 Dock[363]: CGSGetWindowTags: Invalid window 0x214c
    11/04/2013 12:50:03.427 Dock[363]: CGSGetWindowTags: Invalid window 0x214b
    11/04/2013 12:50:03.428 Dock[363]: CGSGetWindowTags: Invalid window 0x214a
    11/04/2013 12:53:54.281 Dock[363]: CGSGetWindowTags: Invalid window 0x21df
    11/04/2013 12:53:54.283 Dock[363]: CGSGetWindowTags: Invalid window 0x21de
    11/04/2013 12:53:54.298 Dock[363]: CGSGetWindowTags: Invalid window 0x21dd
    11/04/2013 12:53:54.299 Dock[363]: CGSGetWindowTags: Invalid window 0x21dc
    11/04/2013 12:53:54.299 Dock[363]: CGSGetWindowTags: Invalid window 0x21db
    11/04/2013 12:53:54.299 Dock[363]: CGSGetWindowTags: Invalid window 0x21da
    11/04/2013 12:53:54.300 Dock[363]: CGSGetWindowTags: Invalid window 0x21d9
    Any ideas?

    Consider the possibility of third party software incompatibility. 
    Does this behavior persist for a different user, e.g., Guest User?  Does this behavior persist when starting up in Safe Mode?
    charlie

  • Mail does not retain correct external server path for Exchange Server '07 even when "automatically detect and maintain account settings" is unchecked. Advice?

    Mail keeps resetting the external server path for an Exchange server '07 account when the program is closed and reopened. This happens even though "automatically detect and maintain account settings" is unchecked. To reset to the correct setting I need to disable the account, make the change and save with the account disabled, close Mail, reopen Mail, and enable the account. Then the settings are maintained and Mail works great... until Mail is closed and reopened again. At that point the server path reverts to an incorrect setting. Anyone else experiencing this? Advice? I don't think this is a problem with the Exchange server because this problem did not happen with OS X Mavericks.

    This this to fix repeated password requests....
    Open Keychain Access in Applications/Utilities
    Search for your Dreamhost accounts. There should be two entries (incoming, outgoing) for each account.
    It's not uncommon to find old entries. You might want to delete all and start clean.The Keychain isn't smart and will keep all old entries when you add/change a password.
    While you are in the Keychain run Keychain First Aid, Under Keychain Access in the Menu bar.
    Open Mail
    Open Connection Doctor.
    If you see red for the account, enter the password again.
    If you continue to have problems, delete the account then add it back.

Maybe you are looking for