[texworks] TeXworks through TeX Live on Windows with multi-byte username

KUROKI Yusuke kuroky at users.sourceforge.jp
Fri Jan 2 15:00:47 CET 2015

# A half-day-before post was not delivered to the TeXworks
# mailing list, I would like to re-post the message (with
# some refinement of writing).
# Cf. http://tug.org/pipermail/tex-live/2015-January/036204.html

Hello, the TeXworks team and users,

We would like to report troubles Japanese users face when
using TeXworks with a Japanese user name through
TeX Live on Windows.  When the user name has Japanese
character(s), the beginning of the procedure of TeXwork's initial
procedure might use
as the user's configure setting (and create the directory if not existing);
however, the later process might not uses the directory but uses
as its setting.  The latter place is the default setting of the
TeXworks stand alone which means directly executing

We are reading some of the codes of TeXworks rapidly,
and guess this behavior comes from Qt library, but it is not
sure whether it is under control of the developer's thought.
  The source code which I have read is
    /svn/texlive/trunk/Master/source/texworks-0.4.4-r1004.tar.gz .
  You would concentrate Lines 144--149 and 886 in src/TWApp.cpp .

  You could reproduce the problem by override the TW_LIBPATH
  in texmf.cnf (under CP932 encoding) as
  -  TW_LIBPATH = $TEXMFCONFIG/ああああ/texworks
     ... C:\Users\<USERNAME>\texworks would be used for user setting.
     though C:\Users\<USERNAME>\.texlive2014\ああああ\texworks
     would be natural.
  - TW_LIBPATH = $TEXMFCONFIG/だめと噂の名/texworks
    ... C:\Users\<USERNAME>\texworks would be used too.

Is the behavior intended?
Could you fix the difference whether TW_INIPATH has
multi-bytes characters (e.g., ああああ or だめと噂の名)?

-- KUROKI Yusuke

黒木 裕介 (KUROKI Yusuke)

More information about the texworks mailing list