Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use stream position instead of counting read bytes.#199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tonyroberts merged 1 commit intopythonnet:developfromtonyroberts:develop
Apr 4, 2016

Conversation

@tonyroberts
Copy link
Contributor

FileStream.Read returns (bytes read, buffer), not just bytes read as the
buffer is passed by reference. This is a bit unintuative, but checking the
position is clear and less error prone.

FileStream.Read returns (bytes read, buffer), not just bytes read as thebuffer is passed by reference. This is a bit unintuative, but checking theposition is clear and less error prone.
@tonyrobertstonyroberts merged commitbc414e1 intopythonnet:developApr 4, 2016
@stonebig
Copy link
Contributor

so now:

  • I can open, modify, save,
  • all is apparently ok if I stay in ascii letter,
  • if I type this:
the Euro Symbol is "€"c'est la fête à Paris !
  • I save, and when I reload (or look via notepad++):
the Euro Symbol is "?"c'est la f?te ? Paris !

.... you may have not saved as utf-8 ? (with a BOM or not, I don't think it changes the loss of the "€")

Still, Awesome progress (I don't know if the last issue is Pythonnet related or an example that gets too complicated, if it's just an example issue, I'm dying to get that dev2)

@tonyroberts
Copy link
ContributorAuthor

Right, well I think as a demo it's now adequately showing how Python and c#
can interact. I don't think it warrants much more time spent on it, but I
don't mind reviewing pull requests if you want to fix it up some more.
On Mon, Apr 4, 2016 at 7:14 PM stonebignotifications@github.com wrote:

so now:

  • I can open, modify, save,
  • all is apparently ok if I stay in ascii letter,
  • if I type this:

the Euro Symbol is "€"
c'est la fête à Paris !

  • I save, and when I reload (or look via notepad++:

the Euro Symbol is "?"
c'est la f?te ? Paris !


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#199 (comment)

@stonebig
Copy link
Contributor

no problem, thanks!

@den-run-ai
Copy link
Contributor

@stonebig@tonyroberts - this demo also has to be adapted to python 3 for
managing str/byte/unicode conversion properly usingsix module.

On Mon, Apr 4, 2016 at 1:22 PM, stonebignotifications@github.com wrote:

no problem, thanks!


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#199 (comment)

@stonebig
Copy link
Contributor

trying to get this example working in all current combinations could drown the project resources.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@tonyroberts@stonebig@den-run-ai@matthid

[8]ページ先頭

©2009-2025 Movatter.jp