Menu

FS Get File does not work on Turkey Win7 OS

Hexin Hou
2011-09-09
2013-06-12
  • Hexin Hou

    Hexin Hou - 2011-09-09

    when I use fs service to get file which path has Turkey char , it always says "File ****" does not exist.

    The command is like that
    staf local fs get file c:\Users\T黵k鏴\QA\Logs\CSL-Default.xml

     
  • Sharon Lucas

    Sharon Lucas - 2011-09-09

    What codepage is STAF using?  What is the output from: STAF local VAR RESOLVE STRING {STAF/Config/CodePage}

     
  • Sharon Lucas

    Sharon Lucas - 2011-09-09

    Also, see section "2.7 Strings and Codepages" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRSTRINGCON

     
  • Hexin Hou

    Hexin Hou - 2011-09-13

    the codepage is IBM-857.

    Additionally ,  STAF version is : 3.4.2.  OS: Win7  Turkey 32bit.

     
  • Hexin Hou

    Hexin Hou - 2011-09-13

    this is the output:

     Response
    --------
    STAF/Config/BootDrive           : C:
    STAF/Config/CodePage            : IBM-857
    STAF/Config/ConfigFile          : C:\staf\bin\STAF.cfg
    STAF/Config/DefaultAuthenticator: none
    STAF/Config/DefaultInterface    : ssl
    STAF/Config/InstanceName        : STAF
    STAF/Config/Machine             : TaaS-TestDriver.pac.adobe.com
    STAF/Config/MachineNickname     : TaaS-TestDriver.pac.adobe.com
    STAF/Config/Mem/Physical/Bytes  : 2128199680
    STAF/Config/Mem/Physical/KB     : 2078320
    STAF/Config/Mem/Physical/MB     : 2029
    STAF/Config/OS/MajorVersion     : 6
    STAF/Config/OS/MinorVersion     : 1
    STAF/Config/OS/Name             : Win7
    STAF/Config/OS/Revision         : 7601
    STAF/Config/Processor/NumAvail  : 2
    STAF/Config/Sep/Command         : &
    STAF/Config/Sep/File            : \
    STAF/Config/Sep/Line            : 
    STAF/Config/Sep/Path            : ;
    STAF/Config/STAFRoot            : C:\staf
    STAF/Config/StartupTime         : 20110913-11:24:41
    STAF/DataDir                    : C:\staf\data\STAF
    STAF/Env/ALLUSERSPROFILE        : C:\ProgramData
    STAF/Env/APPDATA                : C:\Users\Türk/e\AppData\Roaming
    STAF/Env/CLASSPATH              : C:\STAF\bin\JSTAF.jar;C:\STAF\samples\demo\STAFDemo.jar;C:\STAF\samples\demo\STAFDemo.jar;C:\STAF\bin\JSTAF.jar
    STAF/Env/CommonProgramFiles     : C:\Program Files\Common Files
    STAF/Env/COMPUTERNAME           : TAAS-TESTDRIVER
    STAF/Env/ComSpec                : C:\Windows\system32\cmd.exe
    STAF/Env/FP_NO_HOST_CHECK       : NO
    STAF/Env/HOMEDRIVE              : C:
    STAF/Env/HOMEPATH               : \Users\Türk/e
    STAF/Env/JAVA_HOME              : C:\Program Files\Java\jre6
    STAF/Env/LOCALAPPDATA           : C:\Users\Türk/e\AppData\Local
    STAF/Env/LOGONSERVER            : \\TAAS-TESTDRIVER
    STAF/Env/NUMBER_OF_PROCESSORS   : 2
    STAF/Env/OS                     : Windows_NT
    STAF/Env/Path                   : C:\STAF\bin;C:\STAF\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    STAF/Env/PATHEXT                : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    STAF/Env/PROCESSOR_ARCHITECTURE : x86
    STAF/Env/PROCESSOR_IDENTIFIER   : x86 Family 6 Model 23 Stepping 10, GenuineIntel
    STAF/Env/PROCESSOR_LEVEL        : 6
    STAF/Env/PROCESSOR_REVISION     : 170a
    STAF/Env/ProgramData            : C:\ProgramData
    STAF/Env/ProgramFiles           : C:\Program Files
    STAF/Env/PROMPT                 : $P$G
    STAF/Env/PSModulePath           : C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    STAF/Env/PUBLIC                 : C:\Users\Public
    STAF/Env/SESSIONNAME            : Console
    STAF/Env/STAF_INSTANCE_NAME     : STAF
    STAF/Env/STAFCONVDIR            : C:\STAF\codepage
    STAF/Env/SystemDrive            : C:
    STAF/Env/SystemRoot             : C:\Windows
    STAF/Env/TEMP                   : C:\Users\TRKE~1\AppData\Local\Temp
    STAF/Env/TMP                    : C:\Users\TRKE~1\AppData\Local\Temp
    STAF/Env/USERDOMAIN             : TAAS-TESTDRIVER
    STAF/Env/USERNAME               : Türk/e
    STAF/Env/USERPROFILE            : C:\Users\Türk/e
    STAF/Env/windir                 : C:\Windows
    STAF/Env/windows_tracing_flags  : 3
    STAF/Env/windows_tracing_logfile: C:\BVTBin\Tests\installpackage\csilogfile.log
    STAF/Version                    : 3.4.2
    
     
  • Hexin Hou

    Hexin Hou - 2011-09-13

    Here is in the STAF output  username shows : Türk/e

    But actually the logged user is : Türkçe.       I don't know whether this is the issue.

     
  • Sharon Lucas

    Sharon Lucas - 2011-09-13

    Did you read section "2.7 Strings and Codepages" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRSTRINGCON ?  Sub-section "2.7.1 Windows Codepage Translation Anomalies" in it talks about some Windows codepae anomalies that may be the reason.  Use REGEDIT to start the Windows Registry Editor and select Edit->Find and type in ACP to find its value data and then do the same for OEMCP to find its value data. What are the values for the ACP and OEMCP.  If these codepages are different, then try overriding the codepage used by STAF by setting the STAFCODEPAGEOVERRIDE environment variable to the ANSI codepage and then re-start STAFProc.

     
  • Hexin Hou

    Hexin Hou - 2011-09-14

    Thanks for your timely response. This issue has been resolved.

     

Log in to post a comment.