Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

scripting: investigate behaviour of title setting with degree symbol

未关闭
#8,936 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
xml
领域
backend

调研方向

首先检查与 Polaris journal_25_5.xml 和 polaris00162323.nxs 文件相关的标题设置路径,然后跟踪 UTF-8 标题在写入前发生变化的位置。将原始度数符号与 XML 和 NeXus 输出进行比较;当任何有效的 UTF-8 字符在两个文件中都保持完整时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Issue Description

On POLARIS a title was set containing a degree symbol

g.change_title("Pos3: M 400°C-treated calcium iridium niobium oxide pyrochlore in 6 mm V foil can, RT")

But the .xml file shows this as "<title NAPItype="NX_CHAR[16]">Pos3: M 400÷</title>" or

Image

The title also looks odd in the NeXus file too. This needs tracing through the logic to see where UTF-8 is not being preserved (Polaris journal_25_5.xml file, polaris00162323.nxs)

Acceptance Criteria

A title can be set using any valid UTF8 character

note

There have been issues in the past with non-ascii characters, I though it had been working but would need to look further. Past issues have revolved around different windows code pages e.g. labview used https://en.wikipedia.org/wiki/Windows-1252 i think not utf-8

主要语言
没有语言数据
星标
6
派生
2
平均合并
12 天 19 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ISISComputingGroup/IBEX 的其他 Issue

查看 ISISComputingGroup/IBEX 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。