<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21849</bug_id>
          
          <creation_ts>2008-10-23 20:52:48 -0700</creation_ts>
          <short_desc>A minor build failure on Japanese versions of Windows</short_desc>
          <delta_ts>2009-06-18 16:00:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26375</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hironori Bono">hbono</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96477</commentid>
    <comment_count>0</comment_count>
    <who name="Hironori Bono">hbono</who>
    <bug_when>2008-10-23 20:52:48 -0700</bug_when>
    <thetext>Steps to reproduce:
Build WebKit (Revision 37759) on the Japanese version of Windows XP (or Vista) with the &quot;WebKitTOols/Script/build-webkit&quot; script.

Actual Results:
The C++ compiler of Visual Studio 2005 treats a multiplication sign &apos;×&apos; (U+00D7) as corrupted SHIFT-JIS characters and outputs an error and a warning while compiling &quot;WebKit/win/WebCoreLocalizedString.cpp&quot;.
  4&gt;WebCoreLocalizedStrings.cpp
  4&gt;..\WebCoreLocalizedStrings.cpp : error C2220: warning treated as error - no &apos;object&apos; file generated
  4&gt;..\WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss

Expected Results:
The compiler can compile the file without errors or warnings.

Build Date and Platform:
Revision 37759 (2008-10-21) on Windows XP SP2 and Vista SP1.

Additional Builds and Platforms:
- Does not occur on
The English version of Windows XP

Additional Information:
- Possible Solutions
The simplest solution is changing the system locale to English (US) in compiling WebKit.
Another solution is replacing the multiplication sign (U+00D7) with the quated expression of its UTF-8 value (0xC3 0x97), i.e. &quot;\xC3\x97&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96478</commentid>
    <comment_count>1</comment_count>
      <attachid>24632</attachid>
    <who name="Hironori Bono">hbono</who>
    <bug_when>2008-10-23 20:55:51 -0700</bug_when>
    <thetext>Created attachment 24632
A Quick Fix

This patch just replaces the multiplication sign (U+00D7) with the quated expression of its UTF-8 value (0xC3 0x97), i.e. &quot;\xC3\x97&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126801</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2009-06-18 16:00:12 -0700</bug_when>
    <thetext>Although entered later, bug 26375 seems to be progressing in addressing the same issue.

*** This bug has been marked as a duplicate of 26375 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24632</attachid>
            <date>2008-10-23 20:55:51 -0700</date>
            <delta_ts>2008-10-23 20:55:51 -0700</delta_ts>
            <desc>A Quick Fix</desc>
            <filename>my-stupid-patch.txt</filename>
            <type>text/plain</type>
            <size>1348</size>
            <attacher name="Hironori Bono">hbono</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC93aW4vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC93aW4vQ2hh
bmdlTG9nCShyZ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