Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Japanese Character Support Problem

Closed / Invalid218210ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:33
OriginalBugID: 2490 Bug
Version: 8.1.1
SubmitDate: '1999-08-03'
LastModified: '2000-05-18'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: NT 4 Patch 3
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '2000-05-18'


Name:

Robert Hundt



Comments:

I think this behaviour is similar to the problems you have with code

    like this:

    

    if 1 {

    # {

    }



ReproducibleScript:

This line of TCL code fails to perform:

    

    set GSILIC(adj1) {ŒŸ’è”?†(“ú–{‘ª—?¦‰ï)No.09-876 1999”N12ŒŽ31“ú}



ObservedBehavior:

Everything within the enclosing braces is a valid Japanses string, but

    TCL interpretes one character within the braces as a '{' and complains

    about the missing '}'



DesiredBehavior:

TCL should detect usage of MultiByte characters and perform encoding

    during scanning for {...} blocks.





But a valid japanese string in what encoding?  If the user had 
just surrounded this with ""s instead of {}s, it would work.
Otherwise, if you read a file like this in the correct encoding,
then it should work correctly. 
-- 05/18/2000 hobbs
welch Closed ticket [218210ffff]. [History diff]2000-10-26 08:16:57
dgp Ticket [218210ffff]: 4 changes [History diff]2001-04-06 03:31:49
Log in (anonymous is fine) to add a comment.