git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [JGIT PATCH v2] Fixed QuotedStringGitPathStyleTest.testDequote_OctalAll test that generated incorrect UTF-8 escape sequences

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 18, 2009, 15:46 UTC
Message-ID
<20090218154620.GA22848@spearce.org>
In-Reply-To
<85647ef50902161050i43b478d4kb7faaa211dee727d@mail.gmail.com>
Constantine Plotnikov <constantine.plotnikov@gmail.com> wrote:
Show 7 quoted lines
> The test was failing on the system that use a encoding different
> from ISO-8859-1. The reason was that invalid UTF-8 bytes were
> generated for codepoints greater than U+7F, and in this case
> the method RawParseUtils.decodeNoFallback falls backs to the
> default system encoding.
> 
> Signed-off-by: Constantine Plotnikov <Constantine.Plotnikov@jetbrains.com>
Thanks.
Show 5 quoted lines
> The bug was causing failure for the maven build on the windows
> environment that uses Cp1251 as a system encoding. However the test
> worked from Eclipse until I have specified jvm option
> -Dfile.ecoding=Cp1251, in the test case started to fail in Eclipse as
> well.
-- 
Shawn.
Previous: Constantine Plotnikov
Message 2 of 2 in “Fixed QuotedStringGitPathStyleTest.testDequote_OctalAll test that generated incorrect UTF-8 escape sequences”
  1. Fixed QuotedStringGitPathStyleTest.testDequote_OctalAll test that generated incorrect UTF-8 escape sequencesConstantine Plotnikov, Feb 16, 2009
  2. Shawn O. PearceFeb 18, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.