<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2018-06-24 01:01:40 +0900 (Sun, 24 Jun 2018)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7">761af2db87d9d6fba6ee3477fc723d6d701bd1b7</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">TokenMecab windows: MeCab requires UTF-8 for rcfile</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2">plugins/tokenizers/mecab.c</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: plugins/tokenizers/mecab.c (+8 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L288">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L291">291</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L292">292</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L293">293</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L294">294</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L295">295</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L296">296</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L297">297</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2L298">298</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R288">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R291">291</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R292">292</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R293">293</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R294">294</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R295">295</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R296">296</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R297">297</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R298">298</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R299">299</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R300">300</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R301">301</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R303">303</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R304">304</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/761af2db87d9d6fba6ee3477fc723d6d701bd1b7#diff-95217a208a4d5d3ff78d01fed2902ba2R305">305</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -289,10 +289,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">mecab_create(grn_ctx *ctx)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # ifdef WIN32</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> static char windows_mecab_rc_file[PATH_MAX];</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ const char *utf8_base_dir;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ utf8_base_dir =</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_encoding_convert_to_utf8_from_locale(ctx,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_plugin_windows_base_dir(),</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ -1,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_strcpy(windows_mecab_rc_file,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> PATH_MAX,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- grn_plugin_windows_base_dir());</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ utf8_base_dir);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_encoding_converted_free(ctx, utf8_base_dir);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_strcat(windows_mecab_rc_file,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> PATH_MAX,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "/");</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>