Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User em2zeraw's Avatar
    Join Date
    Nov 2003
    Posts
    3
    Hi,

    Does anyone know the curse behind the character '^'?

    For some strange reason http request:

    http://finance.yahoo.com/d/quotes.csv?s=MSFT+SUNW&f=sl1&e=.txt

    works fine and http request:

    http://finance.yahoo.com/d/quotes.csv?s=^DJI+^SPX&f=sl1&e=.txt

    fails to connect when running on the actual phone.

    These requests work without any problems in emulators and browsers.

    And it works when '^' is encoded (replaced by '%5E').

    Your help is much appreciated.
    Last edited by em2zeraw; 2003-11-12 at 07:56.

  2. #2
    Super Contributor shmoove's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    And it works when '^' is encoded (replaced by '%5E').
    So encode it.

    shmoove

  3. #3
    Registered User em2zeraw's Avatar
    Join Date
    Nov 2003
    Posts
    3
    I do encode it.

    But the point was: it works in the emulator and doesn't in the phone. Shouldn't it be consistent? Is there any reason other than 'bug' for it?

  4. #4
    Super Contributor shmoove's Avatar
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    'bug' sounds just right.
    My main point was, with the amount of fragmentation and bugs there is in J2ME implementations, it's useless to bang your head against the wall just so you can do what you think should be done. Encoding the character works, and it will work on all the other platforms too, right? So just encode it and move on. I'm sure you'll have enough troubles up ahead, like we all do.

    Happy coding,

    shmoove

  5. #5
    Registered User em2zeraw's Avatar
    Join Date
    Nov 2003
    Posts
    3
    Thanks for the reply.

    Happy coding around bugs,

    Em2Zeraw.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved