Changeset 4888


Ignore:
Timestamp:
Apr 6, 2009, 2:15:21 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1290: Change source files to UTF-8

All *.java, *.jsp and *.xml files have been converted.

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r4846 r4888  
    7878  <property name="javac.target" value="1.5"
    7979    description="Default value for the 'target' attribute when compiling java code" />
    80   <property name="javac.encoding" value="ISO-8859-1"
     80  <property name="javac.encoding" value="UTF-8"
    8181    description="Default value for the 'encoding' attribute when compiling java code" />
    8282  <property name="src" location="src" description="Location of source files" />
     
    809809      webXmlFragment="${jsp.build}/generated_web.xml"
    810810      outputdir="${jsp.build}/src"
     811      javaencoding="${javac.encoding}"
     812     
    811813    />
    812814    <javac
     
    820822      source="${javac.source}"
    821823      target="${javac.target}"
     824      encoding="${javac.encoding}"
    822825      >
    823826    </javac>
  • trunk/config/dist/ehcache.xml

    r4670 r4888  
    1 <?xml version="1.0" ?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    22<!--
    33  $Id$
  • trunk/config/dist/extended-properties.xml

    r4508 r4888  
    1 <?xml version="1.0" ?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    22<!DOCTYPE extended-properties SYSTEM "extended-properties.dtd" >
    33<!--
  • trunk/config/dist/hibernate.cfg.xml

    r4670 r4888  
    1 <?xml version="1.0" ?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    22<!DOCTYPE hibernate-configuration PUBLIC
    33  "-//Hibernate/Hibernate Configuration DTD//EN"
  • trunk/config/dist/mysql-queries.xml

    r4508 r4888  
    1 <?xml version="1.0" ?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    22<!DOCTYPE predefined-queries SYSTEM "predefined-queries.dtd" >
    33<!--
  • trunk/config/dist/postgres-queries.xml

    r4508 r4888  
    1 <?xml version="1.0" ?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    22<!DOCTYPE predefined-queries SYSTEM "predefined-queries.dtd" >
    33<!--
  • trunk/config/dist/raw-data-types.xml

    r4508 r4888  
    1 <?xml version="1.0" ?>
    2 <?xml-stylesheet type="text/xsl" href="raw-data-types.xsl"?>
     1<?xml version="1.0" encoding="UTF-8" ?>
    32<!DOCTYPE raw-data-types SYSTEM "raw-data-types.dtd" >
    43<!--
  • trunk/config/dist/web.xml

    r4508 r4888  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE web-app
    3     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    4     "http://java.sun.com/dtd/web-app_2_3.dtd">
     1<?xml version="1.0" encoding="UTF-8"?>
     2<web-app xmlns="http://java.sun.com/xml/ns/javaee"
     3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     4  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
     5  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
     6   version="2.5">
     7   
    58<!--
    69  $Id$
     
    2528-->
    2629
    27 <web-app>
    2830  <display-name>BASE</display-name>
    2931  <description>
     
    3537    <location>/exception/exception.jsp</location>
    3638  </error-page>
     39 
     40  <jsp-config>
     41    <jsp-property-group>
     42      <url-pattern>*.jsp</url-pattern>
     43      <page-encoding>UTF-8</page-encoding>
     44    </jsp-property-group>
     45  </jsp-config>
    3746 
    3847  <!--
  • trunk/src/clients/web/net/sf/basedb/clients/web/fileupload/FileUpload.java

    r4512 r4888  
    567567    section headers.
    568568   
    569     ®return A <code>SectionHeaders</code> object with information about the headers found
     569    return A <code>SectionHeaders</code> object with information about the headers found
    570570  */
    571571  private SectionHeaders readSectionHeaders()
  • trunk/www/biomaterials/samples/edit_sample.jsp

    r4869 r4888  
    532532          String usedQuantity = Values.formatNumber(creationEvent.getUsedQuantity(s), -1);
    533533          %>
    534           Link.addNewItem(samples, new Item('S', <%=s.getId()%>, '<%=HTML.javaScriptEncode(s.getName())%> [<%=usedQuantity%> µg]', '<%=usedQuantity%>'));
     534          Link.addNewItem(samples, new Item('S', <%=s.getId()%>, '<%=HTML.javaScriptEncode(s.getName())%> [<%=usedQuantity%> g]', '<%=usedQuantity%>'));
    535535          <%
    536536        }
  • trunk/www/include/scripts/plugin.js

    r4621 r4888  
    4343      if (plugin.autodetection)
    4444      {
    45         option.text += ' '+String.fromCharCode(215); // 215 = x (multiplication sign)
     45        option.text += ' ×';
    4646        numAutodetecting++;
    4747      }
Note: See TracChangeset for help on using the changeset viewer.