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

Re: [PATCH] git-p4: import utf16 file properly

From
CLChris Li <git@chrisli.org>
Date
Sep 14, 2011, 18:39 UTC
Message-ID
<CANeU7QnPqJ+igcmS1JX_vasCXr+Wpcx2b4Z-sy_=0qKEkG+v_w@mail.gmail.com>
In-Reply-To
<CANeU7QnW5kSni0W9M9q-FTWv4p_qc67LG3mA6BQj_U-wxNuZeQ@mail.gmail.com>
On Wed, Sep 14, 2011 at 11:29 AM, Chris Li <git@chrisli.org> wrote:
>> Does this change do the right thing with RCS keywords in UTF16 files?
>
> I don't know what is the rules about the RCS keyword in UTF16 files.
I did a little bit research and found this:
http://www.perforce.com/perforce/doc.current/manuals/p4guide/ab_filetypes.html

RCS keyword expand should only happen for "+k" or "+ko" modifiers. There for, "utf16" files without modifier should not be converted. In that regard, the patch is correct. But both the original and patched version did not handle "utf16+k" type of files. I still consider it as a separate issue.

Chris
Previous: Chris LiNext: Pete Wyckoff
Message 4 of 6 in “git-p4: import utf16 file properly”
  1. git-p4: import utf16 file properlyChris Li, Sep 13, 2011
  2. Luke DiamandSep 14, 2011
  3. Chris LiSep 14, 2011
  4. Chris LiSep 14, 2011
  5. Pete WyckoffSep 18, 2011
  6. Luke DiamandSep 14, 2011

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.