| 3991 | } |
| 3992 | |
| 3993 | static lChar16 decodeHTMLChar( const lChar16 * s ) |
| 3994 | { |
| 3995 | if ( s[0]=='%' ) { |
| 3996 | int d1 = decodeHex( s[1] ); |
| 3997 | if ( d1>=0 ) { |
| 3998 | int d2 = decodeHex( s[2] ); |
| 3999 | if ( d2>=0 ) { |
| 4000 | return d1*16 + d2; |
| 4001 | } |
| 4002 | } |
| 4003 | } |
| 4004 | return 0; |
| 4005 | } |
| 4006 | |
| 4007 | /// decodes path like "file%20name" to "file name" |
| 4008 | lString16 DecodeHTMLUrlString( lString16 s ) |
no test coverage detected