定界字符
我们正在将固定宽度文本文件加载到 SAS 数据集中。
我们用来分隔多值字段值的字符被 SAS 解释为 2 个字符。 这会破坏事情,因为字段的宽度是固定的。
我们可以使用键盘上出现的字符,但显然这不太安全,因为我们的数据实际上可能包含这些字符。
我们要使用的字符是“§”。
我猜这可能是一个编码问题,但不知道该怎么办。
We are loading a Fixed width text file into a SAS dataset.
The character we are using to delimit multi valued field values is being interpreted as 2 characters by SAS. This breaks things, because the fields are of a fixed width.
We can use characters that appear on the keyboard, but obviously this isn't as safe, because our data could actually contain those characters.
The character we would like to use is '§'.
I'm guessing this may be an encoding issue, but don't know what to do about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 DLM='09'x 等字符的键码并将 09 更改为正确的键码吗?
Could you use the keycode for the character like DLM='09'x and change 09 to the right keycode?