Changes between Version 6 and Version 7 of TEXT_SERVER_R0


Ignore:
Timestamp:
05/25/10 17:01:48 (15 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_SERVER_R0

    v6 v7  
    3030 
    3131= Design = 
    32  * Missing ImmTextIntervalPersister on server. 
     32 * Books on server cannot contain text 
     33  * ImmTextIntervalPersister is not registered as extension in BaseModelTextModule, so it cannot be used by the server. Registering the persister enables texts on server. 
     34 * Windows encoding.  
     35  * The problem is not in the server, it is in the way the client posts and reads data. OutputStreamWriter and InputStreamReader use the default system charset if nothing is specified. And their usage in MultiPartRequest must be as follows:  
     36 
     37{{{ 
     38OutputStreamWriter writer = new OutputStreamWriter( 
     39                                this.connection.getOutputStream(), Charset.forName("UTF-8")); 
     40}}}  
     41 and  
     42{{{ 
     43                        InputStreamReader input = new InputStreamReader( 
     44                                        this.connection.getInputStream(), Charset.forName("UTF-8")); 
     45}}} 
    3346 
    3447= Implementation =