incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton" <dennis.hamil...@acm.org>
Subject RE: Re: Open the UOF2.0 source codes
Date Fri, 29 Jun 2012 04:01:08 GMT
Better yet, set the mime type to also specify the UTF-8 encoding.

in SVN config [auto-props] Use this for example:

*.xsl = svn:mime-type=application/xml;;charset=UTF-8

There should be no problem with that.



-----Original Message-----
From: Pedro Giffuni [mailto:pfg@apache.org] 
Sent: Thursday, June 28, 2012 20:48
To: ooo-dev; hongyun.an
Subject: Re: Re: Open the UOF2.0 source codes

Hi Hongyun;

--- Gio 28/6/12, hongyun.an <hongyun.an@cs2c.com.cn> ha scritto:
...
> 
> By the way,here is the file list:
> filter/prj/d.lst;
> filter/source/config/fragments/fcfg_calc.mk;
> filter/source/config/fragments/fcfg_impress.mk;
> filter/source/config/fragments/fcfg_writer.mk;
> filter/source/config/fragments/filters/NSO_Calc_UOF2.xcu;
> filter/source/config/fragments/filters/NSO_Calc_UOF2_ui.xcu;
> filter/source/config/fragments/filters/NSO_Impress_UOF2.xcu;
> filter/source/config/fragments/filters/NSO_Impress_UOF2_ui.xcu;
> filter/source/config/fragments/filters/NSO_Writer_UOF2.xcu;
> filter/source/config/fragments/filters/NSO_Writer_UOF2_ui.xcu;
> filter/source/config/fragments/types/calc_NSO_UOF2.xcu;
> filter/source/config/fragments/types/impress_NSO_UOF2.xcu;
> filter/source/config/fragments/types/writer_NSO_UOF2.xcu;
> filter/source/xmlfilterdetect/filterdetect.cxx;
> filter/source/xmlfilterdetect/makefile.mk;
> filter/source/xslt/export/uof2/odf2uof.xsl;
> filter/source/xslt/import/uof2/uof2odf.xsl;
> filter/source/xsltfilter/containerhelper.hxx;
> filter/source/xsltfilter/makefile.mk;
> filter/source/xsltfilter/uof2merge.cxx;
> filter/source/xsltfilter/uof2merge.hxx;
> filter/source/xsltfilter/uof2splithandler.cxx;
> filter/source/xsltfilter/uof2splithandler.hxx;
> filter/source/xsltfilter/uof2splitter.cxx;
> filter/source/xsltfilter/uof2splitter.hxx;
> filter/source/xsltfilter/uof2storage.cxx;
> filter/source/xsltfilter/uof2storage.hxx;
> filter/source/xsltfilter/XMLBase64Codec.cxx;
> filter/source/xsltfilter/XMLBase64Codec.hxx;
> filter/source/xsltfilter/XSLTFilter.cxx;
> scp2/source/ooo/directory_ooo.scp;
> scp2/source/ooo/file_ooo.scp;
> scp2/source/ooo/module_hidden_ooo.scp
> 
> Only the files "uof2odf.xsl","odf2uof.xsl" have the Chinese
> charactors,which specify UTF-8 encoding.


It's actually not very big: you have to be careful
about the SVN properties before committing. Make sure
that the new files set svn:mime-type to text/plain, otherwise
UTF-8 may be confused with binary.

More information here:
http://svnbook.red-bean.com/en/1.7/svn.advanced.props.html

I also recommend running "svn update" just before
committing.

cheers,

Pedro.


Mime
View raw message