Commit 5394d402 authored by Pavel Vainerman's avatar Pavel Vainerman

Исправил ошибку. В шаблонах кодогенератора стояла старая кодировка koi8-r. Сделал utf-8.

parent 5b9709fc
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<!-- Генерирование cc-файла --> <!-- Генерирование cc-файла -->
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<!-- Генерирование cc-файла --> <!-- Генерирование cc-файла -->
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:template name="settype"> <xsl:template name="settype">
<xsl:param name="iotype"/> <xsl:param name="iotype"/>
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings-alone"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings-alone"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings-alone"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings-alone"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
<?xml version='1.0' encoding="koi8-r" ?> <?xml version='1.0' encoding="utf-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:date="http://exslt.org/dates-and-times"> xmlns:date="http://exslt.org/dates-and-times">
<xsl:import href="ctl-cpp-common.xsl"/> <xsl:import href="ctl-cpp-common.xsl"/>
<xsl:output method="text" indent="yes" encoding="koi8-r"/> <xsl:output method="text" indent="yes" encoding="utf-8"/>
<xsl:variable name="CLASSNAME"> <xsl:variable name="CLASSNAME">
<xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template> <xsl:call-template name="settings"><xsl:with-param name="varname" select="'class-name'"/></xsl:call-template>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Name: libuniset Name: libuniset
Version: 1.0 Version: 1.0
Release: alt16 Release: alt17
Summary: UniSet - library for building distributed industrial control systems Summary: UniSet - library for building distributed industrial control systems
License: GPL License: GPL
Group: Development/C++ Group: Development/C++
...@@ -191,6 +191,9 @@ rm -f %buildroot%_libdir/*.la ...@@ -191,6 +191,9 @@ rm -f %buildroot%_libdir/*.la
%exclude %_pkgconfigdir/libUniSet.pc %exclude %_pkgconfigdir/libUniSet.pc
%changelog %changelog
* Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt17
- set encoding="utf-8" for codegen templates
* Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt16 * Tue Mar 29 2011 Pavel Vainerman <pv@altlinux.ru> 1.0-alt16
- fixed minor bug in codegen - fixed minor bug in codegen
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment