Changeset 1130
- Timestamp:
- 11/07/08 11:27:11 (5 years ago)
- Files:
-
- 1 modified
-
windows/neo-vars/src/Source/makecompose.ahk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/neo-vars/src/Source/makecompose.ahk
r1100 r1130 1789 1789 str := SubStr(str,2) 1790 1790 if (asc(char) < 0x80) 1791 result := result . "U 00" . SubStr(asc(char),3)1791 result := result . "U" . SubStr("0000" . SubStr(asc(char),3),-3) 1792 1792 else if (asc(char) < 0xC0) { 1793 1793 ; error … … 1842 1842 RegExMatch(Line,"([^:]*):[\t ]*""((\\.|[^""])*)"".*",OutputVar) 1843 1843 ReplaceLeft := OutputVar1 1844 ReplaceRight := RegExReplace(OutputVar2,"\\(.)","$1") 1844 ReplaceRight := "" 1845 loop { 1846 thechar := SubStr(OutputVar2,1,1) 1847 OutputVar2 := SubStr(OutputVar2,2) 1848 if (thechar == "\") { 1849 thechar := SubStr(OutputVar2,1,1) 1850 OutputVar2 := SubStr(OutputVar2,2) 1851 if (thechar == "n") 1852 thechar := chr(0x000d) ; Line-Feed 1853 ReplaceRight := ReplaceRight . thechar 1854 } else 1855 ReplaceRight := ReplaceRight . thechar 1856 if (OutputVar2 == "") 1857 break 1858 } 1845 1859 1846 1860 ; care for replaceleft … … 1883 1897 } 1884 1898 1885 EncodeUnicodeFile("..\..\..\Compose\en_US.UTF-8","Source\en_us.ahk" ,5609)1899 ; EncodeUnicodeFile("..\..\..\Compose\en_US.UTF-8","Source\en_us.ahk" ,5609) 1886 1900 EncodeUnicodeFile("..\..\..\Compose\Compose.neo","Source\neocomp.ahk" ,1067) 1887 1901
