Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present jv
authorPatrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 12:07:51 +0100
branchjv
changeset 36305e718e0a754e
parent 3570 1b9fe22c478f
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present

- All source *.st files are now Unicode UTF8 without BOM
Files are in two groups (fileOut works this way in Smalltalk/X):
- containing a unicode character have "{ Encoding: utf8 }" at the header
- ASCII only are without the header
DataSetBuilder.st
FileSelectionBrowser.st
SnapShotImageMemory.st
TabListEditor.st
Tools__InternationalLanguageTranslationEditor.st
UIGalleryView.st
UISelectionPanel.st
UISpecificationTool.st
     1.1 --- a/DataSetBuilder.st	Mon Jul 02 08:46:00 2018 +0200
     1.2 +++ b/DataSetBuilder.st	Wed Nov 14 12:07:51 2018 +0100
     1.3 @@ -1,5 +1,3 @@
     1.4 -"{ Encoding: utf8 }"
     1.5 -
     1.6  "
     1.7   COPYRIGHT (c) 1997 by eXept Software AG
     1.8                All Rights Reserved
     2.1 --- a/FileSelectionBrowser.st	Mon Jul 02 08:46:00 2018 +0200
     2.2 +++ b/FileSelectionBrowser.st	Wed Nov 14 12:07:51 2018 +0100
     2.3 @@ -1,5 +1,3 @@
     2.4 -"{ Encoding: utf8 }"
     2.5 -
     2.6  "
     2.7   COPYRIGHT (c) 1997 by eXept Software AG
     2.8                All Rights Reserved
     3.1 --- a/SnapShotImageMemory.st	Mon Jul 02 08:46:00 2018 +0200
     3.2 +++ b/SnapShotImageMemory.st	Wed Nov 14 12:07:51 2018 +0100
     3.3 @@ -1,5 +1,3 @@
     3.4 -"{ Encoding: utf8 }"
     3.5 -
     3.6  "{ Package: 'stx:libtool2' }"
     3.7  
     3.8  "{ NameSpace: Smalltalk }"
     4.1 --- a/TabListEditor.st	Mon Jul 02 08:46:00 2018 +0200
     4.2 +++ b/TabListEditor.st	Wed Nov 14 12:07:51 2018 +0100
     4.3 @@ -1,5 +1,3 @@
     4.4 -"{ Encoding: utf8 }"
     4.5 -
     4.6  "
     4.7   COPYRIGHT (c) 1997 by eXept Software AG
     4.8                All Rights Reserved
     5.1 --- a/Tools__InternationalLanguageTranslationEditor.st	Mon Jul 02 08:46:00 2018 +0200
     5.2 +++ b/Tools__InternationalLanguageTranslationEditor.st	Wed Nov 14 12:07:51 2018 +0100
     5.3 @@ -1,3 +1,5 @@
     5.4 +"{ Encoding: utf8 }"
     5.5 +
     5.6  "{ Package: 'stx:libtool2' }"
     5.7  
     5.8  "{ NameSpace: Tools }"
     5.9 @@ -1150,7 +1152,7 @@
    5.10  	    selectedAssociation value sameAs: association value] ifNone:[collection add: association].
    5.11  	collection].
    5.12      selectedTranslation := Dialog
    5.13 -	choose:'Choose one if you consider it┤s usefull to translate:
    5.14 +	choose:'Choose one if you consider it's useful to translate:
    5.15      ',
    5.16  	'<', key, '>  ', (self currentExampleLanguageText ifNil:[''])
    5.17  	fromList: (similarTranslationsAssociations collect:[:each |  '<', each key, '>  ', each value])
    5.18 @@ -3307,8 +3309,8 @@
    5.19      self addLanguage:#'de'.
    5.20      self addLanguage:#'fr'.
    5.21  
    5.22 -    self at:'open' language:#'de' put:'÷ffnen'.
    5.23 -    self at:'close' language:#'de' put:'schlie▀en'.
    5.24 +    self at:'open' language:#'de' put:'├Âffnen'.
    5.25 +    self at:'close' language:#'de' put:'schlie├čen'.
    5.26      self at:'yes' language:#'de' put:'ja'.
    5.27      self at:'no' language:#'de' put:'nein'.
    5.28      self at:'cancel' language:#'de' put:'abbrechen'.
     6.1 --- a/UIGalleryView.st	Mon Jul 02 08:46:00 2018 +0200
     6.2 +++ b/UIGalleryView.st	Wed Nov 14 12:07:51 2018 +0100
     6.3 @@ -1,5 +1,3 @@
     6.4 -"{ Encoding: utf8 }"
     6.5 -
     6.6  "
     6.7   COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
     6.8  	      All Rights Reserved
     7.1 --- a/UISelectionPanel.st	Mon Jul 02 08:46:00 2018 +0200
     7.2 +++ b/UISelectionPanel.st	Wed Nov 14 12:07:51 2018 +0100
     7.3 @@ -1,5 +1,3 @@
     7.4 -"{ Encoding: utf8 }"
     7.5 -
     7.6  "
     7.7   COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
     7.8                All Rights Reserved
     8.1 --- a/UISpecificationTool.st	Mon Jul 02 08:46:00 2018 +0200
     8.2 +++ b/UISpecificationTool.st	Wed Nov 14 12:07:51 2018 +0100
     8.3 @@ -1,5 +1,3 @@
     8.4 -"{ Encoding: utf8 }"
     8.5 -
     8.6  "
     8.7   COPYRIGHT (c) 1995 by eXept Software AG
     8.8                All Rights Reserved