|
|||||||
| Register | FAQ | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
first,i am chinese,my english is poor,so...i hope u can understand.
i have few jsp file,its encoding are gbk,content include "gbk", just like: <meta http-equiv="Content-Type" content="text/html; charset=GBK"> now i had to modify those file's encoding to utf-8,like <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">. after that,i want to use bc to check those modified file. because jsp file too many,i want use bat to do this,but i can't write the script. i can set session's format to define left encoding and right encoding,and save this session.but it could not work in cmd line. pls help me ,what can i do. thank you. |
|
#2
|
|||
|
|||
|
Hello,
Thanks for writing in. Do you have a pair of sample files you can send in to support@scootersoftware.com? Please also email us a link back to this forum post for our reference. For scripting, there are two scenarios. The Auto-detect should work and you would not need to override the encoding. If you send in two sample files, we can investigate why the auto-detect is failing. Session Settings for encoding overrides cannot be passed to script. For scripting, this is controlled by the Tools menu -> File Formats. If you have two different formats, one for each encoding, and change the file mask so the first format matches only the left files, and the second format matches only the right files, this could be used to override the encoding.
__________________
Aaron P Scooter Software |
![]() |
| Thread Tools | |
| Display Modes | |
|
|