Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV format is put on clipboard as BinaryFormatted string #9059

Closed
Tracked by #6267 ...
JeremyKuhne opened this issue May 1, 2023 · 1 comment
Closed
Tracked by #6267 ...

CSV format is put on clipboard as BinaryFormatted string #9059

JeremyKuhne opened this issue May 1, 2023 · 1 comment
Assignees
Labels
area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization

Comments

@JeremyKuhne
Copy link
Member

No idea why this is the case. We really should just serialize the string itself.

When I fiddled with this in the past I didn't have luck with this as an interchange format with Excel unless I put it on the clipboard as ASCII. I haven't tested this in over a decade so I don't know what the current expectation is.

Task here is:

  • See what Excel works with (if anything).
  • Flip this to just serialize the string and put it behind an AppContext switch.
  • Document how to manually get/put the data exactly the way you want it to be for an arbitrary clipboard format.
@JeremyKuhne JeremyKuhne added area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization labels May 1, 2023
@JeremyKuhne JeremyKuhne self-assigned this May 1, 2023
@JeremyKuhne
Copy link
Member Author

Resolved this by manually "binary formatting" primitives which is fully compatible with existing apps. This also addresses putting other primitives on the clipboard with a custom "type". #9088

@ghost ghost locked as resolved and limited conversation to collaborators Jun 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Clipboard Issues related to Clipboard area-Serialization-BinaryFormatter-FeatureWork Feature work under the general area of BinaryFormatter related serialization
Projects
None yet
Development

No branches or pull requests

1 participant