×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2007
    Location
    Beijing
    Posts
    122

    download with http

    我用HTTP下载一个文件出现以下几个疑问,请帮忙:
    1.我放在Web Server上的这个文件好象必须是Ansi编码,否则http会返回404错误,这是为什么?
    2.如果这个文件是Ansi编码,我用MHTTPDataSupplier获得数据并写入TPtrC8,然后直接用RFile写入文件,怎么同时转成Unicode?


    还有一个附加问题是:哪位兄弟用过gnubox,用它创建的Bt接入点,写在哪的?内存?还是CCommsDatabase?怎么有的软件能找到Bt,有的又找不到!
    I have no choice...
    http://blog.yiyuan129.com

  2. #2
    Super Contributor
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    5,578

    Re: download with http

    1.以前在服务器放过Unicode编码的文件,使用正常.

    2.如果是ANSI编码的文件可以使用CCnvCharacterSetConverter进行转换,具体方法可以参考Forum Nokia网站上Chinese Display这个例子.
    Beover1984
    -----------
    Doing what comes naturally

Similar Threads

  1. HTTP Connection (how to get total download size?)
    By _nomad_ in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-01-02, 03:45
  2. MMAPI: Abort media HTTP download
    By rainersimon in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-12-30, 12:05
  3. Series 40 - http download of parts of file not possible ?
    By sankotm in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-07-27, 12:35
  4. http download
    By ztnok in forum Symbian
    Replies: 1
    Last Post: 2003-09-26, 11:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×