resources/zh_trad.rs
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 17 Jun 2015 06:22:00 +0100
branchjv
changeset 18487 8735bd9eee2f
parent 17929 8b88d7871e6f
permissions -rw-r--r--
Use inlined FNV1a hash for String ...and do not use __symbolHash(). Although currently the VM also uses FNV1a hash for Symbols, the __symbolHash() does not handle properly character with codepoint 0 (because '\0' is used as a string terminator). This causes problems with Unicode16/32Strigs whose version of FNV1a hash is using object size from header to determine string's end. Added Symbol>>hash that actually *uses* the __symbolHash() to make sure it's hash is the the same as used bu the VM. Symbols with zeroes are rare and there's no Unicode16/32Symbol. This commit fixes issue #65.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11370
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
#encoding utf8
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
17841
7abcc4aef871 Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17834
diff changeset
     3
; $Header: /cvs/stx/stx/libbasic/resources/zh_trad.rs,v 1.2 2008/11/28 16:50:03 cg Exp $
11370
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
;
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
; Chinese traditional
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
; this file contains 8bit national characters;
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
; DONT EDIT this file with an old vi !
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
11373
803f7f6a7b71 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11370
diff changeset
     9
#include 'zh.rs'
11370
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
48cad1b3e85e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
; please redefine any differences to traditional chinese below
17767
a4a32df3aa5e merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    12
17772
6e0b3c06c364 Method reverted to r10532
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17767
diff changeset
    13
17807
06cc6c49e291 merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17772
diff changeset
    14
17814
b75a7f0c346b Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17807
diff changeset
    15
17834
04ff72c5039a Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17814
diff changeset
    16
17841
7abcc4aef871 Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17834
diff changeset
    17
17929
8b88d7871e6f Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17841
diff changeset
    18