首页 \ 问答 \ 插入表格时,乌克兰字符会更改为问号(Ukrainian character change to question mark when insert to table)

插入表格时,乌克兰字符会更改为问号(Ukrainian character change to question mark when insert to table)

我将文件保存为包含乌克兰字符的Unicode文本,并使用SSIS将它成功加载到登台表。

喜欢这个:

"Колодки тормозные дисковые, комплект"
Колодки тормозные
"Колодки тормозные дисковые, комплект"
This is Test

但是当我将它移动到其他表格时,它会更改为:

"??????? ????????? ????????, ????????"
??????? ?????????
"??????? ????????? ????????, ????????"
This is Test

我使用的查询:

insert into finaltable
(
column1
)

select column1 from staging table.

整理:Latin1_General_CI_AS

我该如何纠正这个错误?


I have a file saved as Unicode text containing Ukrainian characters, and it got loaded successfully to staging table using SSIS.

Like this:

"Колодки тормозные дисковые, комплект"
Колодки тормозные
"Колодки тормозные дисковые, комплект"
This is Test

But when I am moving it to other table it changes to:

"??????? ????????? ????????, ????????"
??????? ?????????
"??????? ????????? ????????, ????????"
This is Test

The query I used:

insert into finaltable
(
column1
)

select column1 from staging table.

Collation: Latin1_General_CI_AS

How can I rectify this error?


原文:https://stackoverflow.com/questions/46196062
更新时间:2024-05-02 15:05

最满意答案

你在谈论两件不同的事情。

首先,Jython和IronPython是可以嵌入Java或C#应用程序中以提供脚本功能的Python实现。 这减少了您必须编写的代码总量。 或者,您可以将它们看作一种粘合在一起并利用现有类库的集合的方式。 然而,你看它,这些都是好东西,很多人使用它们。

但睡衣是完全不同的。 它使你的web堆栈变得复杂,并且使得将项目传递给其他程序员变得更加困难。 主要的用例是如果你有一个Python程序员的商店,他们需要提供一个丰富的互联网应用程序客户端,但无法承担学习Javascript的时间。 没有广泛的用处。

另外,我个人的经验是,大多数Python程序员已经从构建Web应用程序中很好地了解了Javascript。 只是深入研究Javascript,它确实不是一个学习曲线。 我已经在Windows上将JSCRIPT脚本编写为批处理文件替换,并在众多网页中使用Jquery编写了一些JavaScript代码。 当我想为node.js学习服务器端JavaScript时,它真的只花了几个星期的时间来完成我对Javascript的知识。 在我看来,应该避免睡衣。 迟早,Javascript引擎将支持该语言的1.8版本,这大大缩小了大括号问题以外的语言之间的差距。


You are talking about two different things.

First, Jython and IronPython are Python implementations that you can embed in a Java or C# application to provide scripting capability. This reduces the amount of code that you have to write overall. Or you can look at them as a way to glue together and leverage an existing collection of class libraries. However you look at it, these are good things and lots of people use them.

But Pyjamas is something else entirely. It complicates your web stack and makes it harder to pass projects on to other programmers. The main use case is if you have a shop of Python programmers and they need to provide a rich Internet application client side but cannot afford the time to learn Javascript. Not as broadly useful.

Also, my personal experience is that most Python programmers already know Javascript reasonably well from building web apps. It really is not much of a learning curve to just dive into Javascript. I've written JSCRIPT scripts on Windows as a batch file replacement and bits of Javascript with Jquery in numerous web pages. When I wanted to learn server-side Javascript for node.js, it really only took a couple of weeks to round out my knowledge of Javascript. In my opinion, Pyjamas should be avoided. Sooner, rather than later, Javascript engines will be supporting version 1.8 of the language which greatly narrows the gap between the languages other than the curly braces issue.

相关问答

更多
  • 什么是IronPython[2022-04-02]

    IronPython 是一种在 NET 和 Mono 上实现的 Python 语言,由 Jim Hugunin(同时也是 Jython 创造者)所创造。   IronPython 是一种在 NET 和 Mono 上实现的 Python 语言,由 Jim Hugunin(同时也是 Jython 创造者)所创造。1.0 版于2006年9月5日发布。   随后,在 2007 年,开发者决定改写构架,使用动态类型系统以让更多脚本语言能很容易地移植到NET Framework上。2008 年,随着微软发布 NET F ...
  • 我在Ruby和Groovy中做了相当广泛的开发(以及使用Grinder作为负载测试工具的一些Jython)。 在3中,我最喜欢Groovy。 我喜欢最好的闭包语法,我认为它与JVM上其他Java类的工作方式有最紧密的集成。 自从我上次使用JRuby以来已经有一段时间了,但在JRuby中导入Java类和使用类加载器对我来说并没有那么干净。 事实上,Groovy本质上也是Java的超集,这意味着大量的Java程序员在采用Groovy比Ruby / JRuby更快的接受时间。 他们可以像编写Java一样开始编程, ...
  • 在Jython中, list是一个function ,而不是一个class 。 您可以通过运行: list.__class__来找到它,它将打印而Python将打印出 给 ...
  • 在iOS项目中使用新的自动参考计数(ARC)内存管理风格有哪些优点和缺点? ARC程序的执行与写好的MRC几乎相同。 也就是说,行为差异通常是不可检测的,因为操作顺序和性能都非常接近。 如果您已经知道如何使用手动引用计数(MRC)来实现OS X或iOS应用程序,则ARC不会真正添加功能 - 它只允许您从源中删除引用计数操作。 如果您不想学习MRC,那么您可能需要先尝试ARC。 很多人都在努力,或者试图忽略MRC的常见做法(例如:我已经为静态分析器引入了一些对象)。 如果您想避免这些问题,ARC将允许您推迟您 ...
  • 你在谈论两件不同的事情。 首先,Jython和IronPython是可以嵌入Java或C#应用程序中以提供脚本功能的Python实现。 这减少了您必须编写的代码总量。 或者,您可以将它们看作一种粘合在一起并利用现有类库的集合的方式。 然而,你看它,这些都是好东西,很多人使用它们。 但睡衣是完全不同的。 它使你的web堆栈变得复杂,并且使得将项目传递给其他程序员变得更加困难。 主要的用例是如果你有一个Python程序员的商店,他们需要提供一个丰富的互联网应用程序客户端,但无法承担学习Javascript的时间 ...
  • 关注JyNI( http://www.jyni.org ),这对于Jython而言,究竟是什么铁人到IronPlad。 在撰写本文时,JyNI仍处于alpha状态。 如果你只想使用Jython中的一些C库,只需使用Jython中的JNA,就像使用Java一样。 如果您需要更好的控制,请查看JNI或SWIG。 此外,您可能需要查看JEP( https://github.com/mrj0/jep )或JPY( https://github.com/bcdev/jpy )。 Keep an eye on JyNI ...
  • 我发现StyleCop对于在开发团队中获得一致性非常有用。 它不会改进代码的功能价值,但它会提高可读性并消除您在协作环境中获得的许多细微差别。 至于有很多不适用的规则,我发现最好的办法就是关闭那些你不想在机器级别遵循的规则。 然后,您可以随时与其他人共享此配置文件,以便让整个团队按照相同的一组规则工作。 至于ReSharper,规则中有一些交叉点,但它的主要目的是编码生产力,而不是符合一组格式规则。 另一件事是ReSharper是一个IDE唯一的工具,而StyleCop可以在Visual Studio以外的 ...
  • IronPython肯定不被scikit-learn支持,我怀疑它会在没有很多努力的情况下工作。 IronPython文档的NumPy和SciPy描述了SciPy所需的移植工作,这当然还没有用于scikit-learn,scikit-learn也非常依赖Cython生成的C代码(除非有人做了移植工作但没有做广告在scikit-learn邮件列表上)。 IronPython is certainly not supported by scikit-learn, and I doubt that it'll w ...
  • 一个简单的for循环? from System import * from System.Collections.Generic import * names = List[str]() def get_names(): names = List[str]() names.Add("Sam") names.Add("Carla") names.Add("Woody") names.Add("Rebecca") names.Add("Cliff") names.Add("Norm ...
  • 也许这会很有用: http : //www.ironpython.net/documentation/dotnet/ Maybe this will be useful: http://www.ironpython.net/documentation/dotnet/

相关文章

更多

最新问答

更多
  • sp_updatestats是否导致SQL Server 2005中无法访问表?(Does sp_updatestats cause tables to be inaccessible in SQL Server 2005?)
  • 如何创建一个可以与持续运行的服务交互的CLI,类似于MySQL的shell?(How to create a CLI that can interact with a continuously running service, similar to MySQL's shell?)
  • AESGCM解密失败的MAC(AESGCM decryption failing with MAC)
  • Zurb Foundation 4 - 嵌套网格对齐问题(Zurb Foundation 4 - Nested grid alignment issues)
  • 湖北京山哪里有修平板计算机的
  • SimplePie问题(SimplePie Problem)
  • 在不同的任务中,我们可以同时使用多少“上下文”?(How many 'context' we can use at a time simultaneously in different tasks?)
  • HTML / Javascript:从子目录启用文件夹访问(HTML/Javascript: Enabling folder access from a subdirectory)
  • 为什么我会收到链接错误?(Why do I get a linker error?)
  • 如何正确定义析构函数(How to properly define destructor)
  • 垂直切换菜单打开第3级父级。(Vertical toggle menu 3rd level parent stay opened. jQuery)
  • 类型不匹配 - JavaScript(Type mismatch - JavaScript)
  • 为什么当我将模型传递给我的.Net MVC 4控制器操作时,它坚持在部分更新中使用它?(Why is it that when I pass a Model to my .Net MVC 4 Controller Action it insists on using it in the Partial Update?)
  • 在使用熊猫和statsmodels时拉取变量名称(Pulling variable names when using pandas and statsmodels)
  • 如何开启mysql计划事件
  • 检查数组的总和是否大于最大数,反之亦然javascript(checking if sum of array is greater than max number and vice versa javascript)
  • 使用OpenGL ES绘制轮廓(Drawing Outline with OpenGL ES)
  • java日历格式(java Calendar format)
  • Python PANDAS:将pandas / numpy转换为dask数据框/数组(Python PANDAS: Converting from pandas/numpy to dask dataframe/array)
  • 如何搜索附加在elasticsearch索引中的文档的内容(How to search a content of a document attached in elasticsearch index)
  • LinQ to Entities:做相反的查询(LinQ to Entities: Doing the opposite query)
  • 从ExtJs 4.1商店中删除记录时会触发哪些事件(Which events get fired when a record is removed from ExtJs 4.1 store)
  • 运行javascript后如何截取网页截图[关闭](How to take screenshot of a webpage after running javascript [closed])
  • 如何使用GlassFish打印完整的堆栈跟踪?(How can I print the full stack trace with GlassFish?)
  • 如何获取某个exe应用程序的出站HTTP请求?(how to get the outbound HTTP request of a certain exe application?)
  • 嗨,Android重叠背景片段和膨胀异常(Hi, Android overlapping background fragment and inflate exception)
  • Assimp详细说明typedef(Assimp elaborated type refers to typedef)
  • 初始化继承类中不同对象的列表(initialize list of different objects in inherited class)
  • 使用jquery ajax在gridview行中保存星级评分(Save star rating in a gridview row using jquery ajax)
  • Geoxml3 groundOverlay zIndex(Geoxml3 groundOverlay zIndex)